infra/pi-imgs/pi-initial.nix

25 lines
507 B
Nix
Raw Normal View History

2024-02-05 13:13:44 +00:00
{
lib,
pkgs,
...
}: {
2023-06-26 15:27:31 +01:00
users.users.root.openssh.authorizedKeys.keys = [
2023-09-05 17:14:14 +01:00
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILIztwQxt+jqroFONSgq+xzPMuE2I5Dq/zWPQ8RcTYJr gabriel@gitgalaxy.com"
2023-06-26 15:27:31 +01:00
];
sdImage.compressImage = false;
2024-02-05 13:13:44 +00:00
systemd.services.openssh.wantedBy = lib.mkOverride 40 ["multi-user.target"];
2023-06-26 15:27:31 +01:00
services.openssh.enable = true;
2024-02-05 13:13:44 +00:00
2023-06-26 15:27:31 +01:00
environment.systemPackages = with pkgs; [
vim
wget
htop
git
screen
nix-output-monitor
tailscale
];
2023-08-05 12:02:26 +01:00
system.stateVersion = "23.05";
2023-06-26 15:27:31 +01:00
}