summaryrefslogtreecommitdiff
path: root/systems/atlas
diff options
context:
space:
mode:
Diffstat (limited to 'systems/atlas')
-rw-r--r--systems/atlas/default.nix12
-rw-r--r--systems/atlas/nginx.nix4
2 files changed, 3 insertions, 13 deletions
diff --git a/systems/atlas/default.nix b/systems/atlas/default.nix
index 5fd346b..1b6cbac 100644
--- a/systems/atlas/default.nix
+++ b/systems/atlas/default.nix
@@ -1,8 +1,4 @@
{
- config,
- pkgs,
- ...
-}: {
imports = [
./hardware-configuration.nix
./miniflux.nix
@@ -10,7 +6,7 @@
./teawiebot.nix
];
- suites.server.enable = true;
+ archetypes.server.enable = true;
boot = {
loader.systemd-boot.enable = true;
@@ -29,12 +25,6 @@
logrotate.checkConfig = false;
};
- users.users.atlas = {
- isNormalUser = true;
- shell = pkgs.bash;
- hashedPasswordFile = config.age.secrets.userPassword.path;
- };
-
system.stateVersion = "23.05";
zramSwap.enable = true;
diff --git a/systems/atlas/nginx.nix b/systems/atlas/nginx.nix
index 03a6fc1..f1d7409 100644
--- a/systems/atlas/nginx.nix
+++ b/systems/atlas/nginx.nix
@@ -14,15 +14,15 @@
name: value: lib.nameValuePair "${name}.${config.networking.domain}" value
);
in {
- server.services.cloudflared.enable = true;
-
services.nginx = {
enable = true;
+ recommendedBrotliSettings = true;
recommendedGzipSettings = true;
recommendedOptimisation = true;
recommendedProxySettings = true;
recommendedTlsSettings = true;
+ recommendedZstdSettings = true;
virtualHosts = toVHosts {
miniflux = {