forked from c3d2/nix-config
Format
This commit is contained in:
parent
cbe9b7a2bf
commit
47198a8124
|
@ -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?
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user