Specify filesystem mountpoint for zfs_fs
Or else disko's mount script won't work.
This commit is contained in:
parent
612a6eed19
commit
cc7a795d37
|
@ -48,7 +48,7 @@ ssh-keygen -t ed25519 -C root@aragorn -f /mnt/persist/etc/ssh/ssh_host_ed25519_k
|
|||
systemd-machine-id-setup --root /mnt/persist/
|
||||
|
||||
# Now install the NixOS system
|
||||
nixos-install --flake .#aragorn
|
||||
nixos-install --no-root-passwd --root /mnt --flake .#aragorn
|
||||
|
||||
# Reconfigure the installed system in the future
|
||||
nixos-rebuild switch --flake .#aragorn
|
||||
|
|
|
@ -69,9 +69,9 @@
|
|||
in
|
||||
{
|
||||
enable = true;
|
||||
dnssec = true;
|
||||
dnsovertls = true;
|
||||
fallbackDns = [ ]; # disable compiled-in fallback DNS list
|
||||
dnssec = "true";
|
||||
dnsovertls = "true";
|
||||
fallbackDns = lib.mkForce [ ]; # disable compiled-in fallback DNS list
|
||||
extraConfig = ''
|
||||
DNS=${builtins.concatStringsSep " " dnsServers}
|
||||
'';
|
||||
|
|
|
@ -88,6 +88,7 @@
|
|||
};
|
||||
nix = {
|
||||
type = "zfs_fs";
|
||||
mountpoint = "/nix";
|
||||
options = {
|
||||
devices = "off";
|
||||
atime = "off";
|
||||
|
@ -96,6 +97,7 @@
|
|||
};
|
||||
gnu = {
|
||||
type = "zfs_fs";
|
||||
mountpoint = "/gnu";
|
||||
options = {
|
||||
devices = "off";
|
||||
atime = "off";
|
||||
|
@ -104,6 +106,7 @@
|
|||
};
|
||||
persist = {
|
||||
type = "zfs_fs";
|
||||
mountpoint = "/persist";
|
||||
options = {
|
||||
setuid = "off";
|
||||
exec = "off";
|
||||
|
@ -120,10 +123,12 @@
|
|||
};
|
||||
"home/follie" = {
|
||||
type = "zfs_fs";
|
||||
mountpoint = "/home/follie";
|
||||
options.mountpoint = "/home/follie";
|
||||
};
|
||||
"home/gema" = {
|
||||
type = "zfs_fs";
|
||||
mountpoint = "/home/gema";
|
||||
options.mountpoint = "/home/gema";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue