feat: clean up nuOS
This commit is contained in:
parent
40ac0626c7
commit
8bab145d7b
3 changed files with 4 additions and 15 deletions
|
|
@ -81,7 +81,7 @@
|
||||||
inputs.agenix.nixosModules.default
|
inputs.agenix.nixosModules.default
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
NoasServer = nixpkgs.lib.nixosSystem {
|
nuOS = nixpkgs.lib.nixosSystem {
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit inputs;
|
inherit inputs;
|
||||||
inherit nix-colors;
|
inherit nix-colors;
|
||||||
|
|
|
||||||
|
|
@ -295,7 +295,7 @@
|
||||||
|
|
||||||
virtualHosts = {
|
virtualHosts = {
|
||||||
|
|
||||||
"noasserver" = {
|
"lambdaos" = {
|
||||||
locations."/".proxyPass = "http://127.0.0.1:22332";
|
locations."/".proxyPass = "http://127.0.0.1:22332";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@
|
||||||
hardware.enableAllFirmware = true;
|
hardware.enableAllFirmware = true;
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "NoasServer"; # Define your hostname.
|
hostName = "nuOS"; # Define your hostname.
|
||||||
networkmanager.enable = true; # Easiest to use and most distros use this by default.
|
networkmanager.enable = true; # Easiest to use and most distros use this by default.
|
||||||
};
|
};
|
||||||
# Pick only one of the below networking options.
|
# Pick only one of the below networking options.
|
||||||
|
|
@ -117,7 +117,7 @@
|
||||||
path = with pkgs; [
|
path = with pkgs; [
|
||||||
nixos-rebuild
|
nixos-rebuild
|
||||||
];
|
];
|
||||||
script = ''nixos-rebuild switch --flake github:itepastra/nixconf'';
|
script = ''nixos-rebuild switch --flake github:itepastra/nixconf#nuOS'';
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
User = "root";
|
User = "root";
|
||||||
|
|
@ -159,12 +159,6 @@
|
||||||
settings.PasswordAuthentication = false;
|
settings.PasswordAuthentication = false;
|
||||||
settings.KbdInteractiveAuthentication = false;
|
settings.KbdInteractiveAuthentication = false;
|
||||||
};
|
};
|
||||||
nix-serve = {
|
|
||||||
enable = true;
|
|
||||||
secretKeyFile = "/var/cache-priv-key.pem";
|
|
||||||
bindAddress = "127.0.0.1";
|
|
||||||
port = 22332;
|
|
||||||
};
|
|
||||||
radicale = {
|
radicale = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
|
@ -264,11 +258,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
"calendar.itepastra.nl" = proxy "itepastra.nl" "http://[::1]:29341";
|
"calendar.itepastra.nl" = proxy "itepastra.nl" "http://[::1]:29341";
|
||||||
|
|
||||||
"noasserver" = {
|
|
||||||
locations."/".proxyPass = "http://127.0.0.1:22332";
|
|
||||||
};
|
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
roundcube = {
|
roundcube = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue