mirror of
https://github.com/arnaucube/configs.git
synced 2026-02-10 12:36:42 +01:00
update nixos configs
- bin/screens: line to fix touchscreen rotation - add zathura config file (zathurarc) - nixos: - rearrange config files reusing most of configs in common-configuration.nix - add chuwi-configuration.nix
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
from time to time run the following commands to remove stuff from old generations
|
||||
After nixos installation and config files in place, run the `../install-new-desktop.sh` script to put in place all the config files (vim,nvim,tmux,i3,etc)
|
||||
|
||||
|
||||
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
|
||||
@@ -10,6 +13,10 @@ sudo nix-env --profile /nix/var/nix/profiles/system --delete-generations 9 10 11
|
||||
sudo nix-env --profile /nix/var/nix/profiles/system --delete-generations +5
|
||||
|
||||
|
||||
# update
|
||||
`sudo nix-channel --update`
|
||||
`sudo nixos-rebuild switch`
|
||||
|
||||
# to remove old programs
|
||||
nix-collect-garbage --delete-old
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user