summaryrefslogtreecommitdiff
path: root/hosts/atlas
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/atlas')
-rw-r--r--hosts/atlas/default.nix24
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;