mirror of
https://git.sr.ht/~roxwize/.dotfiles
synced 2025-03-13 16:03:25 +00:00
46 lines
1,002 B
Nix
46 lines
1,002 B
Nix
{ inputs, pkgs, ... }: {
|
|
imports = [
|
|
inputs.raspberry-pi-nix.nixosModules.raspberry-pi
|
|
inputs.raspberry-pi-nix.nixosModules.sd-image
|
|
./hardware-configuration.nix
|
|
../base.nix
|
|
../../docker
|
|
];
|
|
|
|
users.users.root.openssh.authorizedKeys.keys = [
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPyZFWvrboUTM/dKzz5kQHEKjNqI410VJUGiVckhjOve rae@ioides"
|
|
];
|
|
|
|
programs.git.enable = true;
|
|
virtualisation.docker.enable = true;
|
|
r5e.containers = {
|
|
pihole = {
|
|
enable = true;
|
|
openFirewall = true;
|
|
listenPortHTTP = 8081;
|
|
listenPortHTTPS = 8443;
|
|
};
|
|
raspap = {
|
|
enable = true;
|
|
ssid = "near";
|
|
password = "RjkVTYUZE08HN"; #! world readable
|
|
webgui = {
|
|
username = "rae";
|
|
password = "EBjrJutn06C"; #! world readable
|
|
listenPort = 8080;
|
|
openFirewall = true;
|
|
};
|
|
};
|
|
};
|
|
|
|
networking = {
|
|
hostName = "near";
|
|
firewall.allowedTCPPorts = [ 22 ];
|
|
};
|
|
|
|
environment.systemPackages = with pkgs; [ git ];
|
|
|
|
time.timeZone = "America/New_York";
|
|
|
|
system.stateVersion = "24.11";
|
|
}
|