Skip to content

Commit 2e94764

Browse files
committed
Setup nelly.muehml.eu
1 parent 0524dfb commit 2e94764

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

nix/nixos/larstop2/configuration.nix

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,5 +117,28 @@
117117

118118
services.sysprof.enable = true;
119119

120+
services.caddy = {
121+
enable = true;
122+
openFirewall = true;
123+
virtualHosts = {
124+
"nelly.muehml.eu" = {
125+
extraConfig = ''
126+
encode zstd gzip
127+
log
128+
root /srv/http
129+
file_server
130+
'';
131+
};
132+
};
133+
};
134+
135+
users.users.nelly = {
136+
isNormalUser = true;
137+
initialHashedPassword = "$y$j9T$JIjGNJV7gO1qbuKMXAwI/1$E60iA75y95jqkJLhc5aadxyaz7py7hITGdku8kSrOF/";
138+
openssh.authorizedKeys.keys = [
139+
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN6DJXBuVuMn+vBRD7BCQaFp9NyUgGKjeEVA62TfthZZ nlarsson@h-2001-9b1-29fe-8100--a58.na.bahnhof.se"
140+
];
141+
};
142+
120143
system.stateVersion = "23.05";
121144
}

0 commit comments

Comments
 (0)