You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
arnaucube 6767688ef0 nixos: add keynav 1 month ago
..
.gitignore add nixos config 1 year ago
README.md nixos: add keynav 1 month ago
chromeos-extra-hardware-configuration.nix update nixos config, update install-new-desktop.sh 1 year ago
common-configuration.nix nixos: add keynav 1 month ago
surface-configuration.nix update nixos surface's config to use the common-configuration.nix 1 month ago
surface-extra-hardware-configuration.nix small nix update 5 months ago
thinkpad-configuration.nix update & reorganize nixos configs 3 months ago

README.md

from time to time run the following commands to remove stuff from old generations

# list old generations
sudo nix-env --list-generations --profile /nix/var/nix/profiles/system

# remove old generations
sudo nix-env --profile /nix/var/nix/profiles/system --delete-generations 9 10 11 12 13 X...

# remove old generations except the last 5 generations
sudo nix-env --profile /nix/var/nix/profiles/system --delete-generations +5


# to remove old programs
nix-collect-garbage --delete-old

When stting up the config files in a system, remember to rename either the file thinkpad-configuration.nix or surface-configuration.nix files into configuration.nix.