no pihole

This commit is contained in:
2025-08-15 17:01:14 -05:00
parent b45efdcb94
commit c9e11e4733
2 changed files with 7 additions and 20 deletions

View File

@@ -111,12 +111,9 @@
users.users."nathan" = { users.users."nathan" = {
isNormalUser = true; isNormalUser = true;
initialPassword = "7567"; hashedPasswordFile = config.sops.secrets."nathan/pass".path;
#hashedPasswordFile = config.sops.secrets."nathan/pass".path;
extraGroups = [ extraGroups = [
"wheel" "wheel"
"docker"
"podman"
]; # Enable sudo for the user. ]; # Enable sudo for the user.
openssh.authorizedKeys.keys = [ openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAsU69CxfQk58CvItPN426h5Alnpb60SH37wet97Vb57 nathan@laptop" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAsU69CxfQk58CvItPN426h5Alnpb60SH37wet97Vb57 nathan@laptop"
@@ -124,19 +121,12 @@
}; };
nix = { nix = {
nixPath = [ "nixpkgs=${inputs.nixpkgs}" "unstable=${inputs.nixpkgs-us}" ]; nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
settings = { settings = {
experimental-features = [ "nix-command" "flakes" ]; experimental-features = [ "nix-command" "flakes" ];
}; };
}; };
virtualisation.docker.enable = true;
environment.systemPackages = with pkgs; [
docker
docker-compose
];
sops = { sops = {
age.keyFile = "/home/nathan/.config/sops/age/keys.txt"; age.keyFile = "/home/nathan/.config/sops/age/keys.txt";
defaultSopsFile = ./secrets.yaml; defaultSopsFile = ./secrets.yaml;
@@ -146,11 +136,6 @@
"nathan/pass" = { "nathan/pass" = {
neededForUsers = true; neededForUsers = true;
}; };
"authentik/pass" = {};
"authentik/secret_key" = {};
"nextcloud/pass" = {};
}; };
}; };
@@ -217,12 +202,12 @@
faster-whisper = true; faster-whisper = true;
}; };
rustdesk.enable = false; #broken rustdesk.enable = false; #broken
pihole.enable = true; #broken pihole.enable = false; #broken
code-server.enable = false; code-server.enable = false;
novnc.enable = true; novnc.enable = true;
minecraft.enable = true; minecraft.enable = true;
sandbox.enable = false; sandbox.enable = false;
}; };
}; };
}; };

View File

@@ -7,6 +7,8 @@
config = lib.mkIf config.sysconfig.opts.virtualization.nextcloud.enable { config = lib.mkIf config.sysconfig.opts.virtualization.nextcloud.enable {
sops.secrets."nextcloud/pass" = {};
containers.nextcloud = { containers.nextcloud = {
autoStart = true; autoStart = true;