git: update readme with warning
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
6200244837
commit
3f2f381d32
1 changed files with 7 additions and 7 deletions
14
README.md
14
README.md
|
@ -1,3 +1,7 @@
|
||||||
|
# WARNING
|
||||||
|
|
||||||
|
## This configuration is not meant for public usage
|
||||||
|
|
||||||
# Install
|
# Install
|
||||||
|
|
||||||
## Remote (with NixOS Anywhere)
|
## Remote (with NixOS Anywhere)
|
||||||
|
@ -14,12 +18,10 @@
|
||||||
|
|
||||||
4. Create machine-specific modules in `machines/MACHINE/`
|
4. Create machine-specific modules in `machines/MACHINE/`
|
||||||
|
|
||||||
a. If [Home Manager](https://github.com/nix-community/home-manager), home configuration in `home.nix`
|
b. Machine configuration and hostname in `default.nix`
|
||||||
|
|
||||||
b. System configuration and hostname in `system.nix`
|
|
||||||
|
|
||||||
```nix
|
```nix
|
||||||
{ networking.hostName = "MACHINE"; }
|
{ custom.hostname = "MACHINE"; }
|
||||||
```
|
```
|
||||||
|
|
||||||
c. [Disko](https://github.com/nix-community/disko) layout in `disko.nix`
|
c. [Disko](https://github.com/nix-community/disko) layout in `disko.nix`
|
||||||
|
@ -38,12 +40,10 @@
|
||||||
nixos-generate-config --show-hardware-config --no-filesystems --root /mnt
|
nixos-generate-config --show-hardware-config --no-filesystems --root /mnt
|
||||||
```
|
```
|
||||||
|
|
||||||
e. Import modules in `default.nix`
|
|
||||||
|
|
||||||
5. Choose profile and add machine-specific modules to `flake.in.nix`
|
5. Choose profile and add machine-specific modules to `flake.in.nix`
|
||||||
|
|
||||||
```nix
|
```nix
|
||||||
MACHINE = linux [ ./profiles/PROFILE ./machines/MACHINE ];
|
MACHINE = BRANCH [ ./profiles/PROFILE ./machines/MACHINE ];
|
||||||
```
|
```
|
||||||
|
|
||||||
6. Generate `flake.nix` with [flakegen](https://github.com/jorsn/flakegen)
|
6. Generate `flake.nix` with [flakegen](https://github.com/jorsn/flakegen)
|
||||||
|
|
Loading…
Reference in a new issue