20 lines
452 B
Nix
20 lines
452 B
Nix
{
|
|
moduleWithSystem,
|
|
inputs,
|
|
...
|
|
}: {
|
|
flake.nixosModules.quickshell = moduleWithSystem ({self', ...}: {
|
|
services.upower.enable = true;
|
|
environment.systemPackages = with self'.packages; [
|
|
quickshell
|
|
];
|
|
});
|
|
perSystem = {pkgs, ...}: {
|
|
packages.quickshell = inputs.wrappers.wrappers.quickshell.wrap {
|
|
inherit pkgs;
|
|
configDir = inputs.quickshell;
|
|
configFile = "${inputs.quickshell}/shell.qml";
|
|
};
|
|
};
|
|
}
|