Add support for non-nixos systems

I run Debian on my Thinkpad and wanted to take advantage of nix on there
without also installing NixOS there, so here is added support for it.
This commit is contained in:
caem 2024-06-06 12:41:31 +02:00
parent c2ba41fd36
commit 62a2c850ae
Signed by: caem
GPG key ID: 69A830D03203405F
11 changed files with 103 additions and 21 deletions

View file

@ -47,6 +47,7 @@ modify and share this configuration to your heart's content, no attribution requ
```
## Installing
### NixOS
This configuration uses impermanence with btrfs snapshots so you'll have to partition
your system in a certain way.
@ -75,3 +76,8 @@ in the `secrets/{user}` directory as `pass`.
Finally, in the config directory run `nixos-install --flake '.#'`, reboot and you're done.
### Non-NixOS
Run the `non-nixos-install.sh` script. It will install both home-manager and nix.
Your user is assumed to be called "blank". You need to replace every instance of it
in case you want to use a different username.