dot
vizie's NixOS desktop: Hyprland, CachyOS kernel and gaming tweaks
d6f793e
2 files changed +6 −4
modifiedREADME.md
@@ -37,7 +37,7 @@ | ||
| 37 | 37 | |
| 38 | 38 | |
| 39 | 39 | |
| 40 | - | |
| 40 | + | |
| 41 | 41 | |
| 42 | 42 | |
| 43 | 43 | |
modifiedmodules/home/shell.nix
@@ -55,9 +55,11 @@ | ||
| 55 | 55 | tb = "nc termbin.com 9999"; |
| 56 | 56 | jctl = "journalctl -p 3 -xb"; |
| 57 | 57 | |
| 58 | - # The pacman ones, for NixOS. | |
| 59 | - update = "nix flake update --flake && sudo nixos-rebuild switch --flake "; | |
| 60 | - rebuild = "sudo nixos-rebuild switch --flake "; | |
| 58 | + # The pacman ones, for NixOS. Built as you, with sudo only for the switch: | |
| 59 | + # Nix won't read a git checkout owned by someone else, so a root build | |
| 60 | + # of this one fails. | |
| 61 | + update = "nix flake update --flake && nixos-rebuild switch --sudo --flake "; | |
| 62 | + rebuild = "nixos-rebuild switch --sudo --flake "; | |
| 61 | 63 | cleanup = "sudo nix-collect-garbage --delete-older-than 14d"; |
| 62 | 64 | }; |
| 63 | 65 | |