From bca72f1d780f9abd7959ce81e153c11913f218f3 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Sat, 22 Oct 2022 22:05:54 -0400 Subject: Enable samba share --- modules/auto-update.nix | 1 + modules/yubikey.nix | 12 ------------ 2 files changed, 1 insertion(+), 12 deletions(-) (limited to 'modules') 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"; - }; - }; }; } -- cgit v1.2.3