feat: clean up nuOS

This commit is contained in:
Noa Aarts 2024-09-17 20:05:54 +02:00
parent 40ac0626c7
commit 8bab145d7b
Signed by: noa
GPG key ID: 1850932741EFF672
3 changed files with 4 additions and 15 deletions

View file

@ -21,7 +21,7 @@
hardware.enableAllFirmware = true;
networking = {
hostName = "NoasServer"; # Define your hostname.
hostName = "nuOS"; # Define your hostname.
networkmanager.enable = true; # Easiest to use and most distros use this by default.
};
# Pick only one of the below networking options.
@ -117,7 +117,7 @@
path = with pkgs; [
nixos-rebuild
];
script = ''nixos-rebuild switch --flake github:itepastra/nixconf'';
script = ''nixos-rebuild switch --flake github:itepastra/nixconf#nuOS'';
serviceConfig = {
Type = "oneshot";
User = "root";
@ -159,12 +159,6 @@
settings.PasswordAuthentication = false;
settings.KbdInteractiveAuthentication = false;
};
nix-serve = {
enable = true;
secretKeyFile = "/var/cache-priv-key.pem";
bindAddress = "127.0.0.1";
port = 22332;
};
radicale = {
enable = true;
settings = {
@ -264,11 +258,6 @@
};
"calendar.itepastra.nl" = proxy "itepastra.nl" "http://[::1]:29341";
"noasserver" = {
locations."/".proxyPass = "http://127.0.0.1:22332";
};
};
};
roundcube = {