misc changes

Old changes I never committed
This commit is contained in:
Alejandro Angulo 2024-07-16 19:39:13 -07:00
parent a1ec586d7e
commit 2084da9ff4
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6
4 changed files with 45 additions and 12 deletions

View file

@ -27,6 +27,18 @@ in {
mutableSettings = true; mutableSettings = true;
host = "0.0.0.0"; host = "0.0.0.0";
port = 3000; port = 3000;
settings = {
filtering.rewrites = [
{
domain = "adguardhome.kilonull.com";
answer = "192.168.113.13";
}
{
domain = "*.kilonull.com";
answer = "192.168.113.13";
}
];
};
}; };
services.nginx = { services.nginx = {

View file

@ -34,7 +34,6 @@
services.tailscale = { services.tailscale = {
enable = true; enable = true;
configureClientRouting = true; configureClientRouting = true;
configureServerRouting = true;
}; };
services.openssh.enable = true; services.openssh.enable = true;
services.octoprint = { services.octoprint = {

View file

@ -71,16 +71,24 @@
system.monitoring.enable = true; system.monitoring.enable = true;
}; };
virtualisation.docker = { programs.adb.enable = true;
enable = true;
storageDriver = "overlay2"; virtualisation = {
rootless = { libvirtd.enable = true;
docker = {
enable = true; enable = true;
setSocketVariable = true; storageDriver = "overlay2";
rootless = {
enable = true;
setSocketVariable = true;
};
}; };
}; };
# boot.binfmt.emulatedSystems = ["aarch64-linux" "armv6l-linux"]; programs.virt-manager.enable = true;
boot.binfmt.emulatedSystems = ["aarch64-linux" "armv6l-linux"];
networking = { networking = {
hostName = "gospel"; hostName = "gospel";
useDHCP = false; useDHCP = false;
@ -106,6 +114,9 @@
cryptsetup cryptsetup
paperkey paperkey
chromium
unzip unzip
p7zip p7zip
nix-index nix-index
@ -116,6 +127,21 @@
esptool esptool
minicom minicom
signal-desktop signal-desktop
ncdu
cntr
bundler
bundix
nix-output-monitor
iw
wpa_supplicant
mqttui
openscad
zoom-us
]; ];
# This value determines the NixOS release from which the default # This value determines the NixOS release from which the default

View file

@ -1,8 +1,4 @@
{ {config, ...}: {
config,
pkgs,
...
}: {
boot.supportedFilesystems = ["zfs"]; boot.supportedFilesystems = ["zfs"];
networking.hostId = "f8616592"; networking.hostId = "f8616592";
boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages; boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;