nix: optionally include cli

update flake inputs
This commit is contained in:
Soramane 2025-07-16 13:38:19 +10:00
parent 6c8b2b0cf4
commit 19431534c9
3 changed files with 57 additions and 21 deletions

View file

@ -24,8 +24,11 @@
quickshell,
aubio,
pipewire,
caelestia-cli,
withCli ? false,
}: let
runtimeDeps = [
runtimeDeps =
[
fish
ddcutil
brightnessctl
@ -41,7 +44,9 @@
bluez
bash
hyprland
];
]
++ lib.optional withCli caelestia-cli;
fontconfig = makeFontsConf {
fontDirectories = [material-symbols];
};

32
flake.lock generated
View file

@ -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"
}

View file

@ -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;
});