updated
This commit is contained in:
parent
2c1594af74
commit
7f09dc7f9a
@ -3,8 +3,14 @@
|
||||
## Disk Partitioning
|
||||
|
||||
```txt
|
||||
nix develop .#first-install --extra-experimental-features "nix-command flakes"
|
||||
sudo disko --mode disko ./systems/desktop/<system>/disko.nix
|
||||
nix flake new nixos --template git+https://git.krsnik.at/Kristian/impermanence-talk --extra-experimental-features "nix-command flakes"
|
||||
cd nixos
|
||||
nix develop --extra-experimental-features "nix-command flakes"
|
||||
sudo disko --mode disko ./systems/disko.nix
|
||||
|
||||
cd ..
|
||||
mv nixos /persist
|
||||
cd /persist/nixos
|
||||
```
|
||||
|
||||
While formatting you will be asked for a password which is used for disk encryption with LUKS.
|
||||
@ -13,14 +19,11 @@ Make sure you have the correct keyboard layout set.
|
||||
## [Optional] Generate Hardware Configuration (for new Systems)
|
||||
|
||||
```txt
|
||||
sudo nixos-generate-config --no-filesystems --root /mnt
|
||||
sudo nixos-generate-config --no-filesystems --force --root /mnt ./system
|
||||
```
|
||||
|
||||
Integrate into existing config.
|
||||
|
||||
## Install from Flake
|
||||
|
||||
```txt
|
||||
sudo nixos-install --no-root-password --root /mnt --flake .#<system>
|
||||
sudo nixos-install --no-root-password --root /mnt --flake .#
|
||||
```
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
||||
pkgs = inputs.nixpkgs.legacyPackages.${system};
|
||||
in {
|
||||
nixosConfigurations = {
|
||||
minimal = inputs.nixpkgs.lib.nixosSystem {
|
||||
default = inputs.nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
|
||||
modules = [
|
||||
|
Loading…
Reference in New Issue
Block a user