diff options
| author | Akshay Nair <phenax5@gmail.com> | 2021-01-11 21:54:09 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2021-01-11 21:54:09 +0530 |
| commit | b5dbd99b02dcaf6d06081555ce6841a79395b854 (patch) | |
| tree | 76e5828c74c1ca638a7af6152a9bdcbfc6ab226f | |
| parent | 4ee171e70800f5b9b9cf7d6d1b2c2e10aae57db0 (diff) | |
| download | nixos-config-b5dbd99b02dcaf6d06081555ce6841a79395b854.tar.gz nixos-config-b5dbd99b02dcaf6d06081555ce6841a79395b854.zip | |
Adds gc
| -rw-r--r-- | configuration.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/configuration.nix b/configuration.nix index 3ec0bfc..c2d900b 100644 --- a/configuration.nix +++ b/configuration.nix @@ -86,6 +86,14 @@ in { cozette noto-fonts-emoji ]; + # nix-shell -p actkbd --run "sudo actkbd -n -s -d /dev/input/event#" + #services.actkbd = { + #enable = true; + #bindings = [ + #{ keys = [ 224 ]; events = [ "key" ]; command = "/run/current-system/sw/bin/light -A 10"; } + #{ keys = [ 225 ]; events = [ "key" ]; command = "/run/current-system/sw/bin/light -U 10"; } + #]; + #}; # Enable CUPS to print documents. # services.printing.enable = true; @@ -93,5 +101,11 @@ in { sound.enable = true; # hardware.pulseaudio.enable = true; + nix.autoOptimiseStore = true; + nix.gc = { + automatic = true; + dates = "weekly"; + }; + system.stateVersion = "20.09"; } |
