From e41f98de313f81a74a6ebb1131b3bd92817c4acb Mon Sep 17 00:00:00 2001 From: seth Date: Wed, 6 Sep 2023 17:50:53 -0400 Subject: hosts: remove p-body --- hosts/atlas/default.nix | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'hosts/atlas/default.nix') 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; -- cgit v1.2.3