diff --git a/modules/nixos/garage.nix b/modules/nixos/garage.nix index 99604ae..b031ab0 100644 --- a/modules/nixos/garage.nix +++ b/modules/nixos/garage.nix @@ -1,9 +1,6 @@ -{ pkgs, config, ... }: { - # users.groups.garage = { }; - # users.users.garage = { - # isSystemUser = true; - # group = "garage"; - # }; +{ pkgs, lib, config, ... }: { + users.groups.garage = { }; + users.users.garage = { isSystemUser = true; group = "garage"; }; age.secrets.garage_rpc_secret = { file = ../../secrets/garage_rpc_secret.age; owner = "garage"; @@ -14,11 +11,11 @@ # 3901 # ]; - # # Not correctly passing mount bindings - # systemd.services.garage.serviceConfig = { - # ProtectHome = lib.mkForce false; - # DynamicUser = false; - # }; + # Not correctly passing mount bindings + systemd.services.garage.serviceConfig = { + ProtectHome = lib.mkForce false; + DynamicUser = false; + }; services.garage = { enable = true;