feat(nix): Functional system-manager

This commit is contained in:
Ahmad Ansori Palembani 2024-10-18 13:20:27 +07:00
parent 21429963ef
commit 0e80eb3083
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6
8 changed files with 69 additions and 103 deletions

View file

@ -39,6 +39,14 @@ darwin-rebuild switch --flake .
Nix in non-NixOS Linux is handled by [system-manager](https://github.com/numtide/system-manager).
#### Rebuild
Unfortunately, root access is required in order to use system-manager.
```sh
sudo -i nix run 'github:numtide/system-manager' --extra-experimental-features "nix-command flakes" -- switch --flake $PWD
```
### Home
This is for per-user setup. Instead of managing the entire system, you're