From 09bd8838e59ef8c906e877a20418b4b724a2dfa7 Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Wed, 21 Feb 2024 08:41:55 -0500 Subject: [PATCH] Fix darwin build --- nixos/ssh-authorize.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nixos/ssh-authorize.nix b/nixos/ssh-authorize.nix index a4ebe9f4..721f0f03 100644 --- a/nixos/ssh-authorize.nix +++ b/nixos/ssh-authorize.nix @@ -1,4 +1,4 @@ -{ flake, ... }: +{ flake, pkgs, lib, ... }: { # Let me login @@ -11,6 +11,7 @@ root.openssh.authorizedKeys.keys = myKeys; ${people.myself} = { openssh.authorizedKeys.keys = myKeys; + } // lib.optionalAttrs pkgs.stdenv.isLinux { isNormalUser = true; }; };