diff options
author | Kjetil Ørbekk <kj@orbekk.com> | 2018-02-04 15:18:54 -0500 |
---|---|---|
committer | Kjetil Ørbekk <kj@orbekk.com> | 2018-02-04 15:18:54 -0500 |
commit | 14aae103610b41cf52ed939a3147ecb6a90d1ccd (patch) | |
tree | 1bb101b7497ce952360156fcb0b0571c6a1aa80d | |
parent | 33b0c3e86050b7571083304e51ca491897755e65 (diff) |
dragon: add terraria server
-rw-r--r-- | config/users.nix | 8 | ||||
-rw-r--r-- | machines/dragon.nix | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/config/users.nix b/config/users.nix index 8e2ac22..8c110e0 100644 --- a/config/users.nix +++ b/config/users.nix @@ -37,6 +37,13 @@ in { uid = 504; home = aliases.services.stats.home; }; + terraria = { + name = "terraria"; + group = "terraria"; + createHome = true; + uid = 505; + home = "/var/lib/terraria"; + }; }; extraGroups = { fcgi = { name = "fcgi"; gid = 500; }; @@ -44,6 +51,7 @@ in { systemhttpd = { name = "systemhttpd"; gid = 502; }; linoquotes = { name = "linoquotes"; gid = 503; }; stats = { name = "stats"; gid = 504; }; + terraria = { name = "terraria"; gid = 505; }; }; }; } diff --git a/machines/dragon.nix b/machines/dragon.nix index bab7b97..9518298 100644 --- a/machines/dragon.nix +++ b/machines/dragon.nix @@ -13,6 +13,7 @@ ../config/munin-node.nix ../config/munin-master.nix ../config/vpn-server.nix + ../config/terraria.nix ]; environment.systemPackages = with pkgs; [ ipmitool ]; |