aboutsummaryrefslogtreecommitdiff
path: root/configuration.nix
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2021-01-11 21:54:09 +0530
committerAkshay Nair <phenax5@gmail.com>2021-01-11 21:54:09 +0530
commitb5dbd99b02dcaf6d06081555ce6841a79395b854 (patch)
tree76e5828c74c1ca638a7af6152a9bdcbfc6ab226f /configuration.nix
parent4ee171e70800f5b9b9cf7d6d1b2c2e10aae57db0 (diff)
downloadnixos-config-b5dbd99b02dcaf6d06081555ce6841a79395b854.tar.gz
nixos-config-b5dbd99b02dcaf6d06081555ce6841a79395b854.zip
Adds gc
Diffstat (limited to 'configuration.nix')
-rw-r--r--configuration.nix14
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";
}