finalize chungus disko config.
This commit is contained in:
parent
4fd291a7a2
commit
a934150cd2
1 changed files with 7 additions and 5 deletions
|
@ -1,6 +1,7 @@
|
|||
# nix run github:nix-community/disko -- --mode create ./disko-config-chungus.nix --dry-run
|
||||
# nix run github:nix-community/disko -- --mode mount ./disko-config-chungus.nix --dry-run
|
||||
# nixos-generate-config --root /mnt/
|
||||
# nix run github:nix-community/disko -- --mode zap_create_mount ./disko-config.nix
|
||||
# nix run github:nix-community/disko -- --mode create./disko-config.nix --dry-run
|
||||
# nix run github:nix-community/disko -- --mode mount ./disko-config.nix --dry-run
|
||||
# nixos-generate-config --no-filesystems --root /mnt
|
||||
# vim /mnt/configuration.nix
|
||||
# nixos-install --root /mnt
|
||||
{ ... }:
|
||||
|
@ -44,7 +45,7 @@ in
|
|||
content = {
|
||||
type = "luks";
|
||||
name = "root";
|
||||
keyFile = "/root/password";
|
||||
#keyFile = "/root/password"; # keyFile contains the key for encryption, not the passphrase to unlock the key
|
||||
content = {
|
||||
type = "zfs";
|
||||
pool = "zroot";
|
||||
|
@ -69,7 +70,7 @@ in
|
|||
content = {
|
||||
type = "luks";
|
||||
name = "raid_${name}";
|
||||
keyFile = "/root/password";
|
||||
#keyFile = "/root/password"; # keyFile contains the key for encryption, not the passphrase to unlock the key
|
||||
content = {
|
||||
type = "zfs";
|
||||
pool = "zraid";
|
||||
|
@ -95,6 +96,7 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
# use boot.zfs.extraPools = [ "zraid" ] to mount this pool during boot time.
|
||||
zraid = {
|
||||
type = "zpool";
|
||||
mode = "raidz2";
|
Loading…
Reference in a new issue