diff --git a/modules/services/fileshelter.nix b/modules/services/fileshelter.nix index bbabdf0..e09d284 100644 --- a/modules/services/fileshelter.nix +++ b/modules/services/fileshelter.nix @@ -8,12 +8,16 @@ in enable = mkEnableOption "Enables fileshelter"; }; config = lib.mkIf cfg.enable { + users.users.fileshelter = { + isSystemUser = true; + }; age.secrets.fileshelter-conf = { file = ../../secrets/fileshelter-conf.age; + owner = "fileshelter"; }; - custom.misc.docker.enable = true; virtualisation.oci-containers.containers = { "fileshelter" = { + user = "fileshelter"; autoStart = true; image = "epoupon/fileshelter"; ports = [ diff --git a/systems/mini-pc/configuration.nix b/systems/mini-pc/configuration.nix index 4c93461..b4e2bec 100644 --- a/systems/mini-pc/configuration.nix +++ b/systems/mini-pc/configuration.nix @@ -40,9 +40,6 @@ }; nftables.enable = true; cli-tools.enable = true; - misc = { - docker.enable = true; - }; nix = { index.enable = true; ld.enable = true;