summary refs log tree commit diff
path: root/nixos/modules/services/torrent/magnetico.nix
diff options
context:
space:
mode:
authorGuillaume Girol <symphorien+git@xlumurb.eu>2021-08-08 12:00:00 +0000
committerGuillaume Girol <symphorien+git@xlumurb.eu>2021-09-12 14:59:30 +0200
commitbc3bca822a32fbbc73a9d55394991cef92dba3b9 (patch)
tree04d54d294f1869dd6f874e92eb5f2c094eef3b7f /nixos/modules/services/torrent/magnetico.nix
parent0f15a8f489b04a7d0086edf27920ba15fa1de0d3 (diff)
downloadnixpkgs-bc3bca822a32fbbc73a9d55394991cef92dba3b9.tar
nixpkgs-bc3bca822a32fbbc73a9d55394991cef92dba3b9.tar.gz
nixpkgs-bc3bca822a32fbbc73a9d55394991cef92dba3b9.tar.bz2
nixpkgs-bc3bca822a32fbbc73a9d55394991cef92dba3b9.tar.lz
nixpkgs-bc3bca822a32fbbc73a9d55394991cef92dba3b9.tar.xz
nixpkgs-bc3bca822a32fbbc73a9d55394991cef92dba3b9.tar.zst
nixpkgs-bc3bca822a32fbbc73a9d55394991cef92dba3b9.zip
nixos: define the primary group of users where needed
Diffstat (limited to 'nixos/modules/services/torrent/magnetico.nix')
-rw-r--r--nixos/modules/services/torrent/magnetico.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/services/torrent/magnetico.nix b/nixos/modules/services/torrent/magnetico.nix
index 7465c10e002..ada6f9b1e3a 100644
--- a/nixos/modules/services/torrent/magnetico.nix
+++ b/nixos/modules/services/torrent/magnetico.nix
@@ -172,8 +172,10 @@ in {
 
     users.users.magnetico = {
       description = "Magnetico daemons user";
+      group = "magnetico";
       isSystemUser = true;
     };
+    users.groups.magnetico = {};
 
     systemd.services.magneticod = {
       description = "Magnetico DHT crawler";