diff --git a/devices/server/configuration.nix b/devices/server/configuration.nix index 29fd7f6..da22e6c 100644 --- a/devices/server/configuration.nix +++ b/devices/server/configuration.nix @@ -2,7 +2,9 @@ config, pkgs, ... -}: { +}: let + user = "polen"; +in { imports = [ ./hardware-configuration.nix ]; @@ -19,8 +21,8 @@ services = { jellyfin = { + inherit user; enable = true; - user = "polen"; }; transmission = { enable = true; @@ -29,6 +31,10 @@ rpc-whitelist = "127.0.0.1,192.168.*.*"; }; }; + taskchampion-sync-server = { + inherit user; + enable = true; + }; }; networking = { @@ -36,14 +42,15 @@ firewall.allowedTCPPorts = [ 8096 # jellyfin 9091 # transmission + 10222 # taskchampion-sync-server ]; }; time.timeZone = "America/Toronto"; - users.users.polen = { + users.users.user = { isNormalUser = true; - description = "polen"; + description = user; extraGroups = ["wheel" "transmission" "jellyfin"]; shell = pkgs.zsh; openssh.authorizedKeys.keys = [