From a8630322f77dbb7be4810099a42352b9278996a1 Mon Sep 17 00:00:00 2001 From: seth Date: Sun, 1 Oct 2023 10:41:09 -0400 Subject: treewide!: flatten to parts/ layout --- hosts/atlas/default.nix | 50 ------------------------------------------------- 1 file changed, 50 deletions(-) delete mode 100644 hosts/atlas/default.nix (limited to 'hosts/atlas/default.nix') diff --git a/hosts/atlas/default.nix b/hosts/atlas/default.nix deleted file mode 100644 index 24cb139..0000000 --- a/hosts/atlas/default.nix +++ /dev/null @@ -1,50 +0,0 @@ -{ - config, - pkgs, - ... -}: { - imports = [ - ./hardware-configuration.nix - ./miniflux.nix - ./nginx.nix - ]; - - _module.args.nixinate = { - host = "atlas"; - sshUser = "root"; - buildOn = "remote"; - substituteOnTarget = true; - hermetic = false; - }; - - boot = { - loader.systemd-boot.enable = true; - loader.efi.canTouchEfiVariables = true; - tmp.cleanOnBoot = true; - }; - - networking = { - domain = "mydadleft.me"; - hostName = "atlas"; - }; - - services = { - guzzle-api = { - enable = true; - domain = "api.${config.networking.domain}"; - nginx = { - enableACME = true; - acmeRoot = null; - addSSL = true; - }; - }; - }; - - users.users.atlas = { - isNormalUser = true; - shell = pkgs.bash; - passwordFile = config.age.secrets.userPassword.path; - }; - - zramSwap.enable = true; -} -- cgit v1.2.3