diff options
Diffstat (limited to 'nixos/modules/features/swingmusic')
| -rw-r--r-- | nixos/modules/features/swingmusic/default.nix | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/nixos/modules/features/swingmusic/default.nix b/nixos/modules/features/swingmusic/default.nix new file mode 100644 index 0000000..6c3bc90 --- /dev/null +++ b/nixos/modules/features/swingmusic/default.nix @@ -0,0 +1,19 @@ +{ ... }: + +{ + systemd.user.services.swingmusic = { + description = "Swing Music Local Server"; + wantedBy = [ "graphical-session.target" ]; + after = [ "graphical-session.target" ]; + serviceConfig = { + ExecStart = "/home/seraphim/.swingmusic/swingmusic"; + Restart = "on-failure"; + WorkingDirectory = "/home/seraphim"; + NoNewPrivileges = true; + PrivateTmp = true; + ProtectSystem = "strict"; + ProtectHome = "false"; + RestrictAddressFamilies = [ "AF_INET" "AF_INET6" ]; + }; + }; +}
\ No newline at end of file |
