stuff
This commit is contained in:
parent
b8af0e9761
commit
8164e92af6
84 changed files with 674 additions and 567 deletions
hosts/vessel
|
@ -1,22 +1,29 @@
|
|||
{
|
||||
boot.initrd.luks.devices = {
|
||||
main.device = "/dev/disk/by-label/cryptmain";
|
||||
vault.device = "/dev/disk/by-label/cryptvault";
|
||||
void.device = "/dev/disk/by-label/cryptvoid";
|
||||
sync.device = "/dev/disk/by-label/cryptsync";
|
||||
};
|
||||
|
||||
fileSystems = {
|
||||
"/" = {
|
||||
label = "white";
|
||||
device = "/dev/mapper/main";
|
||||
fsType = "ext4";
|
||||
options = [ "noatime" ];
|
||||
};
|
||||
"/srv/vault" = {
|
||||
label = "black";
|
||||
device = "/dev/mapper/vault";
|
||||
fsType = "ext4";
|
||||
options = [ "noatime" ];
|
||||
};
|
||||
"/srv/void" = {
|
||||
label = "green";
|
||||
device = "/dev/mapper/void";
|
||||
fsType = "ext4";
|
||||
options = [ "noatime" ];
|
||||
};
|
||||
"/srv/sync" = {
|
||||
label = "red";
|
||||
device = "/dev/mapper/sync";
|
||||
fsType = "ext4";
|
||||
options = [ "noatime" ];
|
||||
};
|
||||
|
|
3
hosts/vessel/profiles.nix
Normal file
3
hosts/vessel/profiles.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
profiles.server.enable = true;
|
||||
}
|
|
@ -2,7 +2,6 @@
|
|||
attrName,
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue