nixos/hosts: declare fileSystems for testing hosts
This commit is contained in:
@@ -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";
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
fileSystems."/" = {
|
||||||
|
device = "/dev/vda";
|
||||||
|
fsType = "ext4";
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -32,6 +32,7 @@
|
|||||||
device = "/dev/xvda2";
|
device = "/dev/xvda2";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = [ "subvol=@persist" ] ++ defaultOptions;
|
options = [ "subvol=@persist" ] ++ defaultOptions;
|
||||||
|
neededForBoot = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,8 @@
|
|||||||
{
|
{
|
||||||
|
imports = [
|
||||||
|
./storage.nix
|
||||||
|
];
|
||||||
|
|
||||||
networking.fqdn = "tuxcord.test";
|
networking.fqdn = "tuxcord.test";
|
||||||
|
|
||||||
acme.enable = false;
|
acme.enable = false;
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
fileSystems."/" = {
|
||||||
|
device = "/dev/vda";
|
||||||
|
fsType = "ext4";
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -55,8 +55,6 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/persist".neededForBoot = true;
|
|
||||||
|
|
||||||
environment.persistence."/persist" = {
|
environment.persistence."/persist" = {
|
||||||
enable = true;
|
enable = true;
|
||||||
hideMounts = true;
|
hideMounts = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user