mirror of
https://git.sr.ht/~roxwize/.dotfiles
synced 2025-03-13 16:03:25 +00:00
83 lines
1.8 KiB
Nix
83 lines
1.8 KiB
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 = {
|
|
# TODO: this doesnt work (some random ENOENT shit) and it seems slightly overkill
|
|
# maybe make your own dashboard page yourself or something
|
|
homepage = {
|
|
enable = false;
|
|
listenPort = 80;
|
|
openFirewall = true;
|
|
settings = {
|
|
title = "near";
|
|
background = "/images/2kki_rainy_apartments.png";
|
|
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";
|
|
};
|
|
}
|
|
];
|
|
imagesDir = /home/rae/.dotfiles/assets/wallpapers;
|
|
};
|
|
};
|
|
|
|
services = {
|
|
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 ];
|
|
|
|
time.timeZone = "America/New_York";
|
|
|
|
system.stateVersion = "24.11";
|
|
}
|