mirror of
https://github.com/kaesaecracker/nixos-configuration.git
synced 2025-01-18 18:40:14 +01:00
24 lines
393 B
Nix
24 lines
393 B
Nix
|
{
|
||
|
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;
|
||
|
};
|
||
|
};
|
||
|
}
|
||
|
];
|
||
|
};
|
||
|
}
|