better split also for desktop envs

This commit is contained in:
Vinzenz Schroeter 2023-09-24 13:20:34 +02:00
parent 44bbfc2fa0
commit adb51fd36e
6 changed files with 117 additions and 100 deletions

View file

@ -0,0 +1,23 @@
{
lib,
config,
pkgs,
...
}: let
isEnabled = config.my.desktop.enableGnome;
in {
config = lib.mkIf isEnabled {
home-manager.sharedModules = [
{
home.packages = with pkgs; [
amberol
];
dconf.settings = {
"org/gnome/desktop/peripherals/keyboard" = {
numlock-state = true;
};
};
}
];
};
}