diff options
| author | seth <[email protected]> | 2023-09-06 17:50:53 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-09-07 13:52:26 -0400 |
| commit | e41f98de313f81a74a6ebb1131b3bd92817c4acb (patch) | |
| tree | 02272b37a7ce9650bdfc47f73be64a0a7b2f8800 /hosts/atlas/default.nix | |
| parent | 5d0fdf984a2708ad746669814ac874d6f7ad44b4 (diff) | |
hosts: remove p-body
Diffstat (limited to 'hosts/atlas/default.nix')
| -rw-r--r-- | hosts/atlas/default.nix | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/hosts/atlas/default.nix b/hosts/atlas/default.nix index d42ae99..3f01ed7 100644 --- a/hosts/atlas/default.nix +++ b/hosts/atlas/default.nix @@ -1,6 +1,7 @@ { config, pkgs, + guzzle_api, ... }: { imports = [ @@ -18,22 +19,21 @@ networking = { domain = "mydadleft.me"; hostName = "atlas"; - firewall.allowedTCPPorts = [config.services.prometheus.exporters.node.port]; }; - nix.settings.allowed-users = ["bob"]; - - users.users = { - atlas = { - isNormalUser = true; - shell = pkgs.bash; - passwordFile = config.age.secrets.userPassword.path; + services = { + guzzle-api = { + enable = true; + url = "https://api." + config.networking.domain; + port = "8080"; + package = guzzle_api.packages.x86_64-linux.guzzle-api-server; }; + }; - bob = { - isNormalUser = true; - shell = pkgs.bash; - }; + users.users.atlas = { + isNormalUser = true; + shell = pkgs.bash; + passwordFile = config.age.secrets.userPassword.path; }; zramSwap.enable = true; |
