diff options
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/auto-update.nix | 1 | ||||
| -rw-r--r-- | modules/yubikey.nix | 12 |
2 files changed, 1 insertions, 12 deletions
diff --git a/modules/auto-update.nix b/modules/auto-update.nix index 996ff81..9260f4a 100644 --- a/modules/auto-update.nix +++ b/modules/auto-update.nix @@ -3,6 +3,7 @@ system.autoUpgrade = { enable = true; dates = "04:40"; + flags = "--tarball-ttl 5" flake = if config.networking.hostName == "dragon" then "git+file:///storage/projects/nixos-config.git" diff --git a/modules/yubikey.nix b/modules/yubikey.nix index 1e6aa22..b171408 100644 --- a/modules/yubikey.nix +++ b/modules/yubikey.nix @@ -44,17 +44,5 @@ in commands = [ { command = "${pkgs.systemd}/bin/systemctl restart pcscd"; options = [ "NOPASSWD" ]; } ]; } ]; - - systemd.user.services.restart-pcscd = { - description = "Restart pcscd on startup"; - wantedBy = [ "graphical-session.target" ]; - partOf = [ "graphical-session.target" ]; - serviceConfig = { - ExecStart = '' - sudo systemctl restart pcscd - ''; - Type = "oneshot"; - }; - }; }; } |
