1
0
Fork 0
mirror of https://git.sr.ht/~roxwize/.dotfiles synced 2025-05-02 19:53:07 +00:00
This commit is contained in:
Rae 5e 2025-03-07 21:13:38 -05:00
parent 41fe95e9b1
commit 923a163786
Signed by: rae
GPG key ID: 5B1A0FAB9BAB81EE
5 changed files with 147 additions and 48 deletions

View file

@ -4,6 +4,7 @@
inputs.raspberry-pi-nix.nixosModules.sd-image
./hardware-configuration.nix
../base.nix
../../docker
];
users.users.root.openssh.authorizedKeys.keys = [
@ -12,63 +13,18 @@
programs.git.enable = true;
virtualisation.docker.enable = true;
services = {
homepage-dashboard = {
r5e.containers = {
pihole = {
enable = true;
listenPort = 80;
openFirewall = true;
settings = {
title = "near";
theme = "dark";
color = "violet";
headerStyle = "clean";
target = "_self";
quickLaunch.provider = "duckduckgo";
};
widgets = [
{
search.provider = "duckduckgo";
}
{
resources = {
cpu = true;
memory = true;
disk = "/";
uptime = true;
network = true;
};
}
{
openmeteo = {
label = "Jacksonville";
latitude = 30.3321838;
longitude = -81.655651;
timezone = "America/New_York";
units = "imperial";
};
}
];
};
openssh = {
ports = [ 22 ];
banner = "I won't hold it against you";
settings = {
PasswordAuthentication = false;
};
};
};
networking = {
hostName = "near";
firewall.allowedTCPPorts = [ 22 ];
#! TODO: webkitgtk seems to be a cache miss (alongside SDL and openal) which makes this take FOREVER to build
# networkmanager = {
# enable = true;
# };
};
environment.systemPackages = with pkgs; [ git ];
environment.systemPackages = with pkgs; [ git linux-wifi-hotspot ];
time.timeZone = "America/New_York";