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:
2025-01-25 19:25:09 +01:00
parent 7319f95949
commit 55b362f88f
12 changed files with 143 additions and 102 deletions

View File

@@ -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
```