From 4bad1be65dd5bd1aabafbf29342338ce6a443450 Mon Sep 17 00:00:00 2001 From: Dustin Frisch Date: Mon, 10 Jun 2024 13:45:19 +0200 Subject: [PATCH] manager: make usermgr accessable --- machines/manager/users.nix | 6 +++++- shared/packages.nix | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/machines/manager/users.nix b/machines/manager/users.nix index 104369f..90d1239 100644 --- a/machines/manager/users.nix +++ b/machines/manager/users.nix @@ -30,6 +30,10 @@ with lib; }; users.users."root".packages = [ - (pkgs.callPackage ../../packages/usermgr { }) + pkgs.usermgr + ]; + + systemd.tmpfiles.rules = [ + ''L+ /opt/usermgr - - - - ${pkgs.usermgr}'' ]; } diff --git a/shared/packages.nix b/shared/packages.nix index 8006731..ed5d88e 100644 --- a/shared/packages.nix +++ b/shared/packages.nix @@ -5,6 +5,8 @@ with lib; { nixpkgs.overlays = [ (self: super: { + usermgr = self.callPackage ../packages/usermgr { }; + scalasca = self.callPackage ../packages/scalasca { }; scorep = self.callPackage ../packages/scorep { };