forked from DGNum/infrastructure
fix(web02): Use the correct fs configuration
This commit is contained in:
parent
83d8ff264d
commit
0be91e4803
3 changed files with 17 additions and 5 deletions
|
@ -8,7 +8,6 @@ lib.extra.mkConfig {
|
||||||
|
|
||||||
enabledServices = [
|
enabledServices = [
|
||||||
# List of services to enable
|
# List of services to enable
|
||||||
"monitoring"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
|
@ -17,7 +16,11 @@ lib.extra.mkConfig {
|
||||||
"sshd-timeout"
|
"sshd-timeout"
|
||||||
];
|
];
|
||||||
|
|
||||||
services.netbird.enable = true;
|
# Restrict access to this node
|
||||||
|
dgn-access-control.users.root = [ "thubrecht" ];
|
||||||
|
|
||||||
|
# Disable monitoring
|
||||||
|
dgn-node-monitoring.enable = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
root = ./.;
|
root = ./.;
|
||||||
|
|
|
@ -17,6 +17,11 @@
|
||||||
"virtio_blk"
|
"virtio_blk"
|
||||||
];
|
];
|
||||||
kernelModules = [ ];
|
kernelModules = [ ];
|
||||||
|
|
||||||
|
luks.devices."main" = {
|
||||||
|
device = "/dev/disk/by-uuid/0092c3d6-97ce-40aa-9773-6b85fa0dfec8";
|
||||||
|
tryEmptyPassphrase = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
kernelModules = [ "kvm-intel" ];
|
kernelModules = [ "kvm-intel" ];
|
||||||
|
@ -25,13 +30,18 @@
|
||||||
|
|
||||||
fileSystems = {
|
fileSystems = {
|
||||||
"/" = {
|
"/" = {
|
||||||
device = "/dev/disk/by-uuid/8725c242-144d-495b-8ce4-6f0cef7c8ee3";
|
device = "/dev/disk/by-uuid/f7f94fec-cdd3-4e61-b93f-18447a395018";
|
||||||
fsType = "btrfs";
|
fsType = "ext4";
|
||||||
};
|
};
|
||||||
|
|
||||||
"/boot" = {
|
"/boot" = {
|
||||||
device = "/dev/disk/by-uuid/84F6-E7A3";
|
device = "/dev/disk/by-uuid/84F6-E7A3";
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
|
|
||||||
|
options = [
|
||||||
|
"fmask=0022"
|
||||||
|
"dmask=0022"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
{ dgn-node-monitoring.enable = false; }
|
|
Loading…
Reference in a new issue