nix: optionally include cli
update flake inputs
This commit is contained in:
parent
6c8b2b0cf4
commit
19431534c9
3 changed files with 57 additions and 21 deletions
39
default.nix
39
default.nix
|
|
@ -24,24 +24,29 @@
|
|||
quickshell,
|
||||
aubio,
|
||||
pipewire,
|
||||
caelestia-cli,
|
||||
withCli ? false,
|
||||
}: let
|
||||
runtimeDeps = [
|
||||
fish
|
||||
ddcutil
|
||||
brightnessctl
|
||||
app2unit
|
||||
cava
|
||||
networkmanager
|
||||
lm_sensors
|
||||
grim
|
||||
swappy
|
||||
wl-clipboard
|
||||
libqalculate
|
||||
inotify-tools
|
||||
bluez
|
||||
bash
|
||||
hyprland
|
||||
];
|
||||
runtimeDeps =
|
||||
[
|
||||
fish
|
||||
ddcutil
|
||||
brightnessctl
|
||||
app2unit
|
||||
cava
|
||||
networkmanager
|
||||
lm_sensors
|
||||
grim
|
||||
swappy
|
||||
wl-clipboard
|
||||
libqalculate
|
||||
inotify-tools
|
||||
bluez
|
||||
bash
|
||||
hyprland
|
||||
]
|
||||
++ lib.optional withCli caelestia-cli;
|
||||
|
||||
fontconfig = makeFontsConf {
|
||||
fontDirectories = [material-symbols];
|
||||
};
|
||||
|
|
|
|||
32
flake.lock
generated
32
flake.lock
generated
|
|
@ -20,6 +20,29 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"caelestia-cli": {
|
||||
"inputs": {
|
||||
"app2unit": [
|
||||
"app2unit"
|
||||
],
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1752566000,
|
||||
"narHash": "sha256-xaSDZXvZtuM+88PsmfTDWv6+VxN5cOsT/5/czsk3xgI=",
|
||||
"owner": "caelestia-dots",
|
||||
"repo": "cli",
|
||||
"rev": "b1019d11924d1bc9440f457ddf94fc0d8a230ff4",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "caelestia-dots",
|
||||
"repo": "cli",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1752480373,
|
||||
|
|
@ -43,11 +66,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1752486994,
|
||||
"narHash": "sha256-/11zPRDdPPn61GXDyvDes9otFTP5lLqmETAtwMdeYWI=",
|
||||
"lastModified": 1752631407,
|
||||
"narHash": "sha256-dLDtKxh1VabwLxv5xbjI+oRkDyqWEKGITU+0dEaaW28=",
|
||||
"ref": "refs/heads/master",
|
||||
"rev": "5ac9096c1c63f6940c6b95f1118b540dfe029278",
|
||||
"revCount": 632,
|
||||
"rev": "4d8055f1cd9924bcace59405894b8879633eb83d",
|
||||
"revCount": 638,
|
||||
"type": "git",
|
||||
"url": "https://git.outfoxxed.me/outfoxxed/quickshell"
|
||||
},
|
||||
|
|
@ -59,6 +82,7 @@
|
|||
"root": {
|
||||
"inputs": {
|
||||
"app2unit": "app2unit",
|
||||
"caelestia-cli": "caelestia-cli",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"quickshell": "quickshell"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,6 +13,12 @@
|
|||
url = "github:soramanew/app2unit";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
caelestia-cli = {
|
||||
url = "github:caelestia-dots/cli";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
inputs.app2unit.follows = "app2unit";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = {
|
||||
|
|
@ -35,6 +41,7 @@
|
|||
withI3 = false;
|
||||
};
|
||||
app2unit = inputs.app2unit.packages.${pkgs.system}.default;
|
||||
caelestia-cli = inputs.caelestia-cli.packages.${pkgs.system}.default.override;
|
||||
};
|
||||
default = caelestia-shell;
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue