nixos/hosts: declare fileSystems for testing hosts

This commit is contained in:
2026-05-03 23:51:00 -04:00
parent a708c04a9a
commit dc374e8c04
6 changed files with 21 additions and 2 deletions
+4
View File
@@ -1,4 +1,8 @@
{ {
imports = [
./storage.nix
];
networking.fqdn = "nix.tuxcord.net"; networking.fqdn = "nix.tuxcord.net";
acme.rfc2136.nameserver = "tuxcord.net"; acme.rfc2136.nameserver = "tuxcord.net";
+6
View File
@@ -0,0 +1,6 @@
{
fileSystems."/" = {
device = "/dev/vda";
fsType = "ext4";
};
}
+1
View File
@@ -32,6 +32,7 @@
device = "/dev/xvda2"; device = "/dev/xvda2";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=@persist" ] ++ defaultOptions; options = [ "subvol=@persist" ] ++ defaultOptions;
neededForBoot = true;
}; };
}; };
} }
+4
View File
@@ -1,4 +1,8 @@
{ {
imports = [
./storage.nix
];
networking.fqdn = "tuxcord.test"; networking.fqdn = "tuxcord.test";
acme.enable = false; acme.enable = false;
+6
View File
@@ -0,0 +1,6 @@
{
fileSystems."/" = {
device = "/dev/vda";
fsType = "ext4";
};
}
-2
View File
@@ -55,8 +55,6 @@
}; };
}; };
fileSystems."/persist".neededForBoot = true;
environment.persistence."/persist" = { environment.persistence."/persist" = {
enable = true; enable = true;
hideMounts = true; hideMounts = true;