mirror of
https://git.sr.ht/~roxwize/.dotfiles
synced 2025-05-02 19:53:07 +00:00
~
This commit is contained in:
parent
41fe95e9b1
commit
923a163786
5 changed files with 147 additions and 48 deletions
|
@ -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";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue