diff options
author | Linnnus <[email protected]> | 2025-05-28 19:57:54 +0200 |
---|---|---|
committer | Linnnus <[email protected]> | 2025-05-28 19:57:54 +0200 |
commit | 58a76f688cb80b78cd05ed55abcf6ba95a26e812 (patch) | |
tree | 2b75305f08d7c48d50a09251e0089b01673a5f2a /hosts | |
parent | daeb923cca039152fe5a374b568a8b9f125e5cce (diff) |
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" = { |