feat(marr): enable openssh

This commit is contained in:
Nydragon 2024-09-26 12:25:39 +02:00
parent e93317d01a
commit 5b09139271
Signed by: nydragon
SSH key fingerprint: SHA256:iQnIC12spf4QjWSbarmkD2No1cLMlu6TWoV7K6cYF5g

View file

@ -3,6 +3,7 @@
pkgs, pkgs,
inputs, inputs,
username, username,
pubkeys,
... ...
}: }:
{ {
@ -147,6 +148,7 @@
"dialout" # Necessary for serial port interactions "dialout" # Necessary for serial port interactions
]; ];
shell = pkgs.fish; shell = pkgs.fish;
openssh.authorizedKeys.keys = [ pubkeys.ny ];
}; };
}; };
@ -159,6 +161,10 @@
security.polkit.enable = true; security.polkit.enable = true;
services.openssh = {
enable = true;
};
# List packages installed in system profile. To search, run: # List packages installed in system profile. To search, run:
# $ nix search wget # $ nix search wget
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [