Added garbage collection
This commit is contained in:
parent
e3e884dd9a
commit
b9041df52e
|
@ -1,4 +1,4 @@
|
||||||
# Configuration common to all Raspberry Pi 3 Model B devices in the MIO rack
|
# Configuration common to all my servers
|
||||||
|
|
||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
|
@ -16,10 +16,21 @@
|
||||||
security.sudo.enable = true;
|
security.sudo.enable = true;
|
||||||
security.sudo.wheelNeedsPassword = false;
|
security.sudo.wheelNeedsPassword = false;
|
||||||
|
|
||||||
|
# Enable Nix garbage collection:
|
||||||
|
nix.gc.automatic = true;
|
||||||
|
nix.gc.dates = "weekly";
|
||||||
|
nix.gc.options = "--delete-older-than 90d";
|
||||||
|
|
||||||
# Program defauls for Linode VMs
|
# Program defauls for Linode VMs
|
||||||
programs.zsh.enable = true;
|
programs.zsh = {
|
||||||
programs.zsh.autosuggestions.enable = true;
|
enable = true;
|
||||||
programs.zsh.ohMyZsh.enable = true;
|
autosuggestions = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
ohMyZsh = }
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
# List services that you want to enable:
|
# List services that you want to enable:
|
||||||
services.openssh.enable = true; # Enable the OpenSSH daemon.
|
services.openssh.enable = true; # Enable the OpenSSH daemon.
|
||||||
|
|
Loading…
Reference in a new issue