diff options
author | Linnnus <[email protected]> | 2023-10-01 22:08:14 +0200 |
---|---|---|
committer | Linnnus <[email protected]> | 2023-10-01 22:08:14 +0200 |
commit | df53cd97a22ac201df6e19ce1a2083146bd900ce (patch) | |
tree | bc038f80d0eb7e4410e6c252d9ddbc9cb746d00c /hosts/ahmed | |
parent | 33fe1f534fff335c19d510b21cbbc602fc704684 (diff) |
Remove 'my' prefix
Diffstat (limited to 'hosts/ahmed')
-rw-r--r-- | hosts/ahmed/configuration.nix | 12 | ||||
-rw-r--r-- | hosts/ahmed/graphics.nix | 4 | ||||
-rw-r--r-- | hosts/ahmed/linus.onl.nix | 4 | ||||
-rw-r--r-- | hosts/ahmed/notifications.linus.onl.nix | 4 |
4 files changed, 12 insertions, 12 deletions
diff --git a/hosts/ahmed/configuration.nix b/hosts/ahmed/configuration.nix index 402c3ab..2fb6d2e 100644 --- a/hosts/ahmed/configuration.nix +++ b/hosts/ahmed/configuration.nix @@ -39,7 +39,7 @@ }; # Set up Minecraft server. - my.services.on-demand-minecraft = { + services.on-demand-minecraft = { enable = true; eula = true; package = pkgs.papermc; @@ -47,15 +47,15 @@ }; # Set up dukse server. Det er satme hårdt at være overduksepåmindelsesansvarlig. - my.services.duksebot.enable = true; + services.duksebot.enable = true; # Virtual hosts. services.nginx.enable = true; - my.modules."linus.onl" = { + modules."linus.onl" = { enable = true; useACME = true; }; - my.modules."notifications.linus.onl" = { + modules."notifications.linus.onl" = { enable = true; useACME = true; }; @@ -78,10 +78,10 @@ networking.firewall.allowedTCPPorts = [ 80 443 ]; # We are running behind CF proxy. - my.modules.cloudflare-proxy.enable = true; + modules.cloudflare-proxy.enable = true; # Use as main driver temporarily. - # my.modules.graphics.enable = true; + # modules.graphics.enable = true; disable-screen = { enable = true; diff --git a/hosts/ahmed/graphics.nix b/hosts/ahmed/graphics.nix index e2b7a86..be7c9c9 100644 --- a/hosts/ahmed/graphics.nix +++ b/hosts/ahmed/graphics.nix @@ -6,10 +6,10 @@ let inherit (lib) mkEnableOption mkIf; - cfg = config.my.modules.graphics; + cfg = config.modules.graphics; in { - options.my.modules.graphics.enable = mkEnableOption "basic graphical environment"; + options.modules.graphics.enable = mkEnableOption "basic graphical environment"; config = mkIf cfg.enable { services.xserver.enable = true; diff --git a/hosts/ahmed/linus.onl.nix b/hosts/ahmed/linus.onl.nix index 617865c..a8e4190 100644 --- a/hosts/ahmed/linus.onl.nix +++ b/hosts/ahmed/linus.onl.nix @@ -5,10 +5,10 @@ let domain = "linus.onl"; - cfg = config.my.modules."${domain}"; + cfg = config.modules."${domain}"; in { - options.my.modules."${domain}" = { + options.modules."${domain}" = { enable = mkEnableOption "${domain} static site"; useACME = mkEnableOption "built-in HTTPS stuff"; diff --git a/hosts/ahmed/notifications.linus.onl.nix b/hosts/ahmed/notifications.linus.onl.nix index 443853f..ba57489 100644 --- a/hosts/ahmed/notifications.linus.onl.nix +++ b/hosts/ahmed/notifications.linus.onl.nix @@ -8,10 +8,10 @@ let # TODO: Make option internal-port. internal-port = 13082; - cfg = config.my.modules."notifications.linus.onl"; + cfg = config.modules."notifications.linus.onl"; in { - options.my.modules."notifications.linus.onl" = { + options.modules."notifications.linus.onl" = { enable = mkEnableOption "notifications.linus.onl static site"; useACME = mkEnableOption "built-in HTTPS stuff"; |