diff --git a/README.md b/README.md index e0d5807..c30107a 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # About +This is my personal nix config. + ## Structure - `hosts/` contains configuration for all hosts. @@ -54,8 +56,6 @@ ## Stuff -This is my personal nix config. - - Secrets can be created/edited by running `nix run .#edit-secret some/secret.age` - Secrets can be rekeyed by running `nix run .#rekey` (you will be prompted to do so in an error message if neccessary) diff --git a/hosts/common/core/ssh.nix b/hosts/common/core/ssh.nix index 68424a9..bc9ef36 100644 --- a/hosts/common/core/ssh.nix +++ b/hosts/common/core/ssh.nix @@ -1,6 +1,7 @@ -{ +{lib, ...}: { services.openssh = { enable = true; + authorizedKeysFiles = lib.mkForce ["/etc/ssh/authorized_keys.d/%u"]; settings = { PasswordAuthentication = false; KbdInteractiveAuthentication = false; diff --git a/hosts/common/sound-pipewire.nix b/hosts/common/sound.nix similarity index 100% rename from hosts/common/sound-pipewire.nix rename to hosts/common/sound.nix diff --git a/hosts/nom/default.nix b/hosts/nom/default.nix index d24eab3..c7f1b32 100644 --- a/hosts/nom/default.nix +++ b/hosts/nom/default.nix @@ -16,7 +16,7 @@ ../common/hardware/intel.nix ../common/efi.nix ../common/laptop.nix - ../common/sound-pipewire.nix + ../common/sound.nix ../common/yubikey.nix ../common/zfs.nix