Remove tmpfiles dependencies

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2024-09-30 12:54:12 +04:00
parent 7386cd2f54
commit 51319ae556
3 changed files with 4 additions and 6 deletions

View File

@@ -45,12 +45,10 @@
Description = "Auto-import GPG keys";
Requires = [
"sops-nix.service"
"systemd-tmpfiles-setup.service"
"gpg-agent.socket"
];
After = [
"sops-nix.service"
"systemd-tmpfiles-setup.service"
"gpg-agent.socket"
];
};
@@ -62,8 +60,6 @@
Install.WantedBy = [ "default.target" ];
};
tmpfiles.rules = [ "d ${home}/.local/share/gnupg 0700 ${user} users -" ];
};
sops.secrets = {

View File

@@ -1,3 +1,5 @@
install -d -m 700 "${GNUPGHOME}"
for dir in "${HOME}"/.config/sops-nix/secrets/gpg-agent/*; do
keyfile="${dir}/key"
passfile="${dir}/pass"

View File

@@ -35,8 +35,6 @@
home-manager.users.${user} = {
systemd.user = {
tmpfiles.rules = [ "d ${home}/.local/share/Steam/steamapps/common 0755 ${user} users -" ];
services.steam-ln =
let
steamLn = lib.meta.getExe (
@@ -61,6 +59,8 @@
ExecStart = steamLn;
Type = "oneshot";
};
Install.WantedBy = [ "graphical-session.target" ];
};
paths.steam-ln = {