more fixes 1

This commit is contained in:
Vivian 2023-12-19 13:54:09 +01:00
parent cad0a45511
commit 47ce78481c

View file

@ -60,7 +60,7 @@
};
}) // {
nixosModules = rec {
default = { config, lib, ... }:
default = { config, lib, pkgs, ... }:
with lib;
let cfg = config.services.gnome-autounlock-keyring;
in {
@ -73,7 +73,7 @@
description = "Automatically unlock gnome keyring using TPM";
wantedBy = [ "gnome-session.target" ];
script = ''
${self.packages.default}/bin/gnome-autounlock-keyring unlock
${self.packages.${pkgs.system}.default}/bin/gnome-autounlock-keyring unlock
'';
serviceConfig = { Type = "oneshot"; };
};