diff options
author | Kjetil Orbekk <kj@orbekk.com> | 2022-10-22 22:05:54 -0400 |
---|---|---|
committer | Kjetil Orbekk <kj@orbekk.com> | 2022-10-22 22:06:59 -0400 |
commit | bca72f1d780f9abd7959ce81e153c11913f218f3 (patch) | |
tree | 87a36a69b0a07a1ac2ab4a34548e5a7846255767 /modules | |
parent | 0a7e53a85abacb298f410b4ff8ca1b7ea035924c (diff) |
Enable samba share
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"; - }; - }; }; } |