diff options
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/muhammed/configuration.nix | 5 | ||||
-rw-r--r-- | hosts/muhammed/syncthing.nix | 2 |
2 files changed, 1 insertions, 6 deletions
diff --git a/hosts/muhammed/configuration.nix b/hosts/muhammed/configuration.nix index 12dbef8..e0c510a 100644 --- a/hosts/muhammed/configuration.nix +++ b/hosts/muhammed/configuration.nix @@ -18,9 +18,6 @@ # See: https://cohost.org/fullmoon/post/1728807-nix-s-tarball-ttl-op nix.settings.tarball-ttl = 604800; - # Use the Nix daemon. - services.nix-daemon.enable = true; - # Set up main account. users.users.linus = { description = "Personal user account"; @@ -42,7 +39,7 @@ # Let's use fingerprint to authenticate sudo. Very useful as an indicator of # when darwin-rebuild is finished... - security.pam.enableSudoTouchIdAuth = true; + security.pam.services.sudo_local.touchIdAuth = true; # Don't request password for running pmset. environment.etc."sudoers.d/10-unauthenticated-commands".text = let diff --git a/hosts/muhammed/syncthing.nix b/hosts/muhammed/syncthing.nix index 7e1bc29..50e5e3f 100644 --- a/hosts/muhammed/syncthing.nix +++ b/hosts/muhammed/syncthing.nix @@ -23,8 +23,6 @@ key = config.age.secrets.syncthing-key.path; cert = config.age.secrets.syncthing-cert.path; - openDefaultPorts = true; - settings = { folders = { "ebooks" = { |