works again, mostly done, now we can start with server
This commit is contained in:
parent
784f214fb7
commit
270e1a0be4
38 changed files with 623 additions and 381 deletions
|
|
@ -12,20 +12,23 @@
|
|||
walker.enable = lib.mkEnableOption "enable walker";
|
||||
rofi.enable = lib.mkEnableOption "enable rofi";
|
||||
launcher = lib.mkOption {
|
||||
default = (lib.mkIf config.desktop.shell.walker.enable "walker");
|
||||
default = (if config.desktop.shell.walker.enable then "walker" else null);
|
||||
description = "default launcher";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
config = {
|
||||
programs = {
|
||||
walker = lib.mkIf config.desktop.shell.walker.enable {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
environment.systemPackages = with pkgs; [
|
||||
(lib.mkIf (config.desktop.shell.rofi.enable) rofi)
|
||||
];
|
||||
config = {
|
||||
environment.systemPackages =
|
||||
with pkgs;
|
||||
[
|
||||
]
|
||||
++ (
|
||||
if config.desktop.shell.rofi.enable then
|
||||
|
||||
[ rofi ]
|
||||
else
|
||||
[ ]
|
||||
);
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue