From 13c1f520e247de1672f5d7e57cc9b8f5839a8f5c Mon Sep 17 00:00:00 2001 From: "Else, Someone" Date: Thu, 9 Oct 2025 04:30:07 +0300 Subject: [PATCH] fixup! profiles: init (vsock ssh &c.) --- profiles/uvms-users.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/profiles/uvms-users.nix b/profiles/uvms-users.nix index abe7c80..f2b9146 100644 --- a/profiles/uvms-users.nix +++ b/profiles/uvms-users.nix @@ -18,7 +18,7 @@ in uvms.users.pubkeys.ssh = lib.mkOption { description = "Authorized SSH keys for user@ and root@"; type = lib.types.listOf lib.types.str; - defalut = [ ]; + default = [ ]; }; uvms.users.pubkeys.enable = lib.mkEnableOption "Deploy (SSH, &c) public (authorized) keys. This leaks certain public IDs into the VM" @@ -49,7 +49,7 @@ in }; }; } - (lib.mkIf cfg.deployPubkeys { + (lib.mkIf cfg.pubkeys.ssh { users.users.root.openssh = { inherit authorizedKeys; }; users.users.user.openssh = { inherit authorizedKeys; }; })