From 47ce78481c94dfcd98848353b1a9b8eaa876fb80 Mon Sep 17 00:00:00 2001 From: Victor Date: Tue, 19 Dec 2023 13:54:09 +0100 Subject: [PATCH] more fixes 1 --- flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index a5e12b9..42b04cc 100644 --- a/flake.nix +++ b/flake.nix @@ -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"; }; };