From bfbb201a9ab4a73061609e6a9a029ab174f0a7e5 Mon Sep 17 00:00:00 2001 From: sajenim Date: Sat, 13 May 2023 16:36:20 +0000 Subject: [PATCH 1/3] remove vim swp --- nixos/lavender/.configuration.nix.swp | Bin 16384 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 nixos/lavender/.configuration.nix.swp diff --git a/nixos/lavender/.configuration.nix.swp b/nixos/lavender/.configuration.nix.swp deleted file mode 100644 index 33e14e12b63f93a2788ad55d70703ccf49eb4fa8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 16384 zcmeHOO>87b748H`2qBQLNdyFx%FIf(iKoZoY>4s7WPh`wU zsjl{TupDv;5)z8w0?8#8LJlAy5JCYV!2u}(aX}&=5E2SGfpXzb2qL8Ly{hh+S=-v& z5JEk>-~4n}y?XW4t5@}2wcB%#F0ZhUgmVF2w+6xcU)+oqzI8+Jm$w9g(c04GH+#i= zTc}8wH!IiN(urvDD3PieY1@^t$U-G|nt;xlrI=<%tFG+jhFhr>6?ikj)%}Wrih*l0 zklSu!;g;aO`IejN_1Zn`$a^-fU8lNRF;Fp3F;Fp3F;Fp3F;Fp3F;Fq^f5m`JuMa+l z9$jDb>WSj>x_zHW2e{Y0#V6IFS6R;gs@^LGDh4VBDh4VBDh4VBDh4VBDh4VBDh4VB zDhB=+8Q@V6+yKSyqyzxY|I7IQ<#z|c5ZD2hfhFK(;E(SLf zum~{VeZcL&5#T1^wOfMV72v19w}GdCCx8cm8Q`Dq41$+{9|1oAwt@EoHv+%BIS9T3 zd;|D8@I3G=&Po8LKol|a363N@Hde9SKw#B=YbQzgTN8s zwYLSq?|>fyF8~JU1D^rT0`~w6xEuHYa2N2#TTusi5%?M~1Pt&vumVg2Q@|a-zmcr@ z74S0fG{AvR14n?@G0v|5&jHT>Uj;4$rvS2nI{>uKgxZ!yt3)UpX2Z;iWR-XNyeBfY z#0JuCv9#aIj0d?w2y{pyp? zvaUAFZV8rW!h~Le%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5wpwdagghJs&q7Md`NP7v{ zrt=z;hUTu)MM~j7?s9aXf^50UGD;3nW?_76g+{2^wY7&~c_P6daC-(_(x|KrT`;l8 zCs2ZwY}_~G4*vFhKF42yoVDTrY-~?-Jn1+dUn-N3VNd00FGMQN9gBF~MmG~{#=|zY zPRt}@{lO%R2{Q}X8ahVuW3`6ATHlxCT-#Va!v+Q^P51-E_;6lra%(=NKnd2|&|s4T zLlTx4C~^?=C-99T?~AL9^&}mZvhviFv2B@v&NG@Rr2oc8jmUZ6 Date: Sat, 13 May 2023 16:44:37 +0000 Subject: [PATCH 2/3] add authorized key file --- nixos/lavender/configuration.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/lavender/configuration.nix b/nixos/lavender/configuration.nix index c7e76e6..5d437dd 100644 --- a/nixos/lavender/configuration.nix +++ b/nixos/lavender/configuration.nix @@ -119,6 +119,7 @@ users.users.admin = { isNormalUser = true; extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user. + openssh.authorizedKeys.keyFiles = [ ../fuchsia/id_ed25519_sk.pub ]; }; # List packages installed in system profile. To search, run: From 7c860a551ec6aa654ab4652f239ceec1238ef022 Mon Sep 17 00:00:00 2001 From: sajenim Date: Sat, 13 May 2023 16:48:26 +0000 Subject: [PATCH 3/3] disable password authentication --- nixos/lavender/configuration.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/lavender/configuration.nix b/nixos/lavender/configuration.nix index 5d437dd..593fbd4 100644 --- a/nixos/lavender/configuration.nix +++ b/nixos/lavender/configuration.nix @@ -145,6 +145,7 @@ services.openssh = { enable = true; permitRootLogin = "no"; + passwordAuthentication = false; }; # Open ports in the firewall.