disable kde on non-graphical systems
This commit is contained in:
parent
b7714d7411
commit
c0569e59ed
3 changed files with 6 additions and 2 deletions
|
@ -4,6 +4,7 @@ _: {
|
|||
./editors
|
||||
./ssh
|
||||
./desktop
|
||||
./stylix
|
||||
];
|
||||
home-manager.users.root.imports = [
|
||||
./home-manager.nix
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
./pipewire.nix
|
||||
./firefox/system.nix
|
||||
stylix.nixosModules.stylix
|
||||
./stylix
|
||||
];
|
||||
home-manager.users.darkkirb.imports =
|
||||
if config.isGraphical then
|
||||
|
|
|
@ -80,7 +80,8 @@ let
|
|||
};
|
||||
in
|
||||
{
|
||||
home-manager.users.root.stylix.enable = lib.mkForce false;
|
||||
home-manager.users.root.stylix.targets.kde.enable = lib.mkForce false;
|
||||
home-manager.users.darkkirb.stylix.targets.kde.enable = config.isGraphical;
|
||||
stylix = {
|
||||
enable = true;
|
||||
image = bgPng;
|
||||
|
@ -108,5 +109,8 @@ in
|
|||
name = "Noto Color Emoji";
|
||||
};
|
||||
};
|
||||
targets = {
|
||||
kde.enable = config.isGraphical;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue