1
0
Fork 0
mirror of https://git.sr.ht/~roxwize/.dotfiles synced 2025-04-03 18:14:15 +00:00
.dotfiles/nixos/hosts/near/configuration.nix
2025-03-03 21:40:24 -05:00

29 lines
625 B
Nix

{ inputs, ... }: {
imports = [
inputs.raspberry-pi-nix.nixosModules.raspberry-pi
inputs.raspberry-pi-nix.nixosModules.sd-image
./hardware-configuration.nix
../base.nix
];
users.users.root.openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPyZFWvrboUTM/dKzz5kQHEKjNqI410VJUGiVckhjOve rae@ioides"
];
services.openssh = {
ports = [ 22 ];
banner = "I won't hold it against you";
settings = {
PasswordAuthentication = true;
};
};
networking = {
hostName = "near";
firewall.allowedTCPPorts = [ 22 ];
};
time.timeZone = "America/New_York";
system.stateVersion = "24.11";
}