Specify filesystem mountpoint for zfs_fs

Or else disko's mount script won't work.
This commit is contained in:
Hoang Nguyen 2024-02-24 00:00:00 +07:00
parent 612a6eed19
commit cc7a795d37
Signed by: folliehiyuki
GPG Key ID: B0567C20730E9B11
3 changed files with 9 additions and 4 deletions

View File

@ -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

View File

@ -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}
'';

View File

@ -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";
};
};