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,24 +24,29 @@
quickshell, quickshell,
aubio, aubio,
pipewire, pipewire,
caelestia-cli,
withCli ? false,
}: let }: let
runtimeDeps = [ runtimeDeps =
fish [
ddcutil fish
brightnessctl ddcutil
app2unit brightnessctl
cava app2unit
networkmanager cava
lm_sensors networkmanager
grim lm_sensors
swappy grim
wl-clipboard swappy
libqalculate wl-clipboard
inotify-tools libqalculate
bluez inotify-tools
bash bluez
hyprland bash
]; hyprland
]
++ lib.optional withCli caelestia-cli;
fontconfig = makeFontsConf { fontconfig = makeFontsConf {
fontDirectories = [material-symbols]; fontDirectories = [material-symbols];
}; };

32
flake.lock generated
View file

@ -20,6 +20,29 @@
"type": "github" "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": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1752480373, "lastModified": 1752480373,
@ -43,11 +66,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1752486994, "lastModified": 1752631407,
"narHash": "sha256-/11zPRDdPPn61GXDyvDes9otFTP5lLqmETAtwMdeYWI=", "narHash": "sha256-dLDtKxh1VabwLxv5xbjI+oRkDyqWEKGITU+0dEaaW28=",
"ref": "refs/heads/master", "ref": "refs/heads/master",
"rev": "5ac9096c1c63f6940c6b95f1118b540dfe029278", "rev": "4d8055f1cd9924bcace59405894b8879633eb83d",
"revCount": 632, "revCount": 638,
"type": "git", "type": "git",
"url": "https://git.outfoxxed.me/outfoxxed/quickshell" "url": "https://git.outfoxxed.me/outfoxxed/quickshell"
}, },
@ -59,6 +82,7 @@
"root": { "root": {
"inputs": { "inputs": {
"app2unit": "app2unit", "app2unit": "app2unit",
"caelestia-cli": "caelestia-cli",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"quickshell": "quickshell" "quickshell": "quickshell"
} }

View file

@ -13,6 +13,12 @@
url = "github:soramanew/app2unit"; url = "github:soramanew/app2unit";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
caelestia-cli = {
url = "github:caelestia-dots/cli";
inputs.nixpkgs.follows = "nixpkgs";
inputs.app2unit.follows = "app2unit";
};
}; };
outputs = { outputs = {
@ -35,6 +41,7 @@
withI3 = false; withI3 = false;
}; };
app2unit = inputs.app2unit.packages.${pkgs.system}.default; app2unit = inputs.app2unit.packages.${pkgs.system}.default;
caelestia-cli = inputs.caelestia-cli.packages.${pkgs.system}.default.override;
}; };
default = caelestia-shell; default = caelestia-shell;
}); });