mirror of
https://github.com/belsabbagh/dotfiles.git
synced 2026-04-11 09:36:46 +00:00
quickshell and hyprland additions
This commit is contained in:
60
.config/quickshell/caelestia/flake.nix
Normal file
60
.config/quickshell/caelestia/flake.nix
Normal file
@@ -0,0 +1,60 @@
|
||||
{
|
||||
description = "Desktop shell for Caelestia dots";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
|
||||
quickshell = {
|
||||
url = "git+https://git.outfoxxed.me/outfoxxed/quickshell";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
caelestia-cli = {
|
||||
url = "github:caelestia-dots/cli";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
inputs.caelestia-shell.follows = "";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = {
|
||||
self,
|
||||
nixpkgs,
|
||||
...
|
||||
} @ inputs: let
|
||||
forAllSystems = fn:
|
||||
nixpkgs.lib.genAttrs nixpkgs.lib.platforms.linux (
|
||||
system: fn nixpkgs.legacyPackages.${system}
|
||||
);
|
||||
in {
|
||||
formatter = forAllSystems (pkgs: pkgs.alejandra);
|
||||
|
||||
packages = forAllSystems (pkgs: rec {
|
||||
caelestia-shell = pkgs.callPackage ./nix {
|
||||
rev = self.rev or self.dirtyRev;
|
||||
stdenv = pkgs.clangStdenv;
|
||||
quickshell = inputs.quickshell.packages.${pkgs.stdenv.hostPlatform.system}.default.override {
|
||||
withX11 = false;
|
||||
withI3 = false;
|
||||
};
|
||||
app2unit = pkgs.callPackage ./nix/app2unit.nix {inherit pkgs;};
|
||||
caelestia-cli = inputs.caelestia-cli.packages.${pkgs.stdenv.hostPlatform.system}.default;
|
||||
};
|
||||
with-cli = caelestia-shell.override {withCli = true;};
|
||||
debug = caelestia-shell.override {debug = true;};
|
||||
default = caelestia-shell;
|
||||
});
|
||||
|
||||
devShells = forAllSystems (pkgs: {
|
||||
default = let
|
||||
shell = self.packages.${pkgs.stdenv.hostPlatform.system}.caelestia-shell;
|
||||
in
|
||||
pkgs.mkShell.override {stdenv = shell.stdenv;} {
|
||||
inputsFrom = [shell shell.plugin shell.extras];
|
||||
packages = with pkgs; [clazy material-symbols rubik nerd-fonts.caskaydia-cove];
|
||||
CAELESTIA_XKB_RULES_PATH = "${pkgs.xkeyboard-config}/share/xkeyboard-config-2/rules/base.lst";
|
||||
};
|
||||
});
|
||||
|
||||
homeManagerModules.default = import ./nix/hm-module.nix self;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user