server services
This commit is contained in:
@@ -33,11 +33,15 @@ in {
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
./modules.nix
|
||||
./server.nix
|
||||
];
|
||||
|
||||
boot.initrd.luks.devices."luks-47b35d4b-467a-4637-a5f9-45177da62897".device = "/dev/disk/by-uuid/47b35d4b-467a-4637-a5f9-45177da62897";
|
||||
|
||||
networking.hostName = "sobotka";
|
||||
networking = {
|
||||
hostName = "sobotka";
|
||||
domain = "cnst.dev";
|
||||
};
|
||||
|
||||
environment.variables.NH_FLAKE = "/home/cnst/.nix-config";
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
network = {
|
||||
enable = true;
|
||||
interfaces = {
|
||||
"eno1" = {
|
||||
"enp6s0" = {
|
||||
allowedTCPPorts = [22 80 443];
|
||||
};
|
||||
};
|
||||
|
||||
10
hosts/sobotka/server.nix
Normal file
10
hosts/sobotka/server.nix
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
server = {
|
||||
caddy = {
|
||||
enable = true;
|
||||
};
|
||||
vaultwarden = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user