From a78bb1a6139a07e1bd25f74c8e7b0376282d1327 Mon Sep 17 00:00:00 2001 From: "RingOfStorms (Joshua Bell)" Date: Mon, 14 Oct 2024 04:27:33 -0500 Subject: [PATCH] remove nixserver --- hosts/h002/configuration.nix | 4 +--- hosts/h002/nixserver.nix | 30 ------------------------------ 2 files changed, 1 insertion(+), 33 deletions(-) delete mode 100644 hosts/h002/nixserver.nix diff --git a/hosts/h002/configuration.nix b/hosts/h002/configuration.nix index 2de1735..1492021 100644 --- a/hosts/h002/configuration.nix +++ b/hosts/h002/configuration.nix @@ -8,8 +8,6 @@ # Users this machine has (settings.usersDir + "/root/configuration.nix") (settings.usersDir + "/luser/configuration.nix") - - # (settings.hostsDir + "/h002/nixserver.nix") ]; # My custom modules @@ -21,7 +19,7 @@ neovim.enable = true; tty_caps_esc.enable = true; docker.enable = true; - stormd.enable = true; + # stormd.enable = true; nebula.enable = true; ssh.enable = true; }; diff --git a/hosts/h002/nixserver.nix b/hosts/h002/nixserver.nix deleted file mode 100644 index 2614b0b..0000000 --- a/hosts/h002/nixserver.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ settings, pkgs, ... }: -{ - # [Unit] - # Description=Nixserver Agent - # After=network.target - - # [Service] - # ExecStart=/usr/local/bin/nixserver agent run - # Restart=always - # User=luser - # Group=luser - - # [Install] - # WantedBy=multi-user.target - - systemd.services.nixserver_agent = { - description = "Nixserver Agent"; - after = [ "network.target" ]; - wantedBy = [ "multi-user.target" ]; - serviceConfig = { - Environment = [ - "PATH=/run/wrappers/bin:/home/luser/.nix-profile/bin:/nix/profile/bin:/home/luser/.local/state/nix/profile/bin:/etc/profiles/per-user/luser/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin" - "NIX_PATH=nixpkgs=flake:nixpkgs:/nix/var/nix/profiles/per-user/root/channels" - ]; - ExecStart = "/usr/local/bin/nixserver agent run"; - Restart = "always"; - User = "luser"; - }; - }; -}