This commit is contained in:
Sandro - 2022-08-05 18:19:12 +02:00
parent cbe9b7a2bf
commit 47198a8124
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -7,8 +7,10 @@
./microvms.nix
];
c3d2.hq.statistics.enable = true;
c3d2.deployment.microvmBaseZfsDataset = "server10/vm";
c3d2 = {
deployment.microvmBaseZfsDataset = "server10/vm";
hq.statistics.enable = true;
};
boot= {
loader.grub = {
@ -28,20 +30,20 @@
};
networking = {
firewall = {
enable = true;
allowedTCPPorts = [ 22 ];
};
hostName = "server10";
# TODO: change that to something more random
hostId = "10101010";
};
networking.firewall = {
enable = true;
allowedTCPPorts = [ 22 ];
services = {
openssh.enable = true;
smartd.enable = true;
zfs.autoScrub.enable = true;
};
services.openssh.enable = true;
services.zfs.autoScrub.enable = true;
services.smartd.enable = true;
system.stateVersion = "21.11"; # Did you read the comment?
}