remove nixserver
This commit is contained in:
parent
ac729a4b10
commit
a78bb1a613
2 changed files with 1 additions and 33 deletions
|
@ -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;
|
||||
};
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue