works again, mostly done, now we can start with server

This commit is contained in:
martyTF 2026-04-03 01:11:14 +02:00
parent 784f214fb7
commit 270e1a0be4
38 changed files with 623 additions and 381 deletions

View file

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

View file

@ -12,13 +12,4 @@
noctalia.enable = lib.mkEnableOption "enable noctalia";
};
};
imports = lib.mkIf config.desktop.shell.noctalia.enable [
inputs.noctalia.homeModules.default
];
config = lib.mkIf config.desktop.shell.noctalia.enable {
desktop.shell.swww.enable = lib.mkDefault false;
programs.noctalia-shell = {
enable = true;
};
};
}

View file

@ -13,10 +13,20 @@
};
};
config = lib.mkIf config.desktop.shell.swww.enable {
environment.systemPackages = with pkgs; [
waypaper
swww
];
};
config =
{
environment.systemPackages =
with pkgs;
[ ]
++ (
if config.desktop.shell.swww.enable then
[
waypaper
swww
]
else
[ ]
);
};
}

View file

@ -12,11 +12,15 @@
};
};
config = lib.mkIf config.desktop.shell.waybar.enable {
programs = {
waybar = {
enable = true;
};
};
config = {
programs =
if config.desktop.shell.waybar.enable then
{
waybar = {
enable = true;
};
}
else
{ };
};
}