From c9e11e4733940bb1a721bc022b1b2f6b69376a45 Mon Sep 17 00:00:00 2001 From: Nathan Date: Fri, 15 Aug 2025 17:01:14 -0500 Subject: [PATCH] no pihole --- .../configuration/homebox/default.nix | 25 ++++--------------- .../services/containers/nextcloud/default.nix | 2 ++ 2 files changed, 7 insertions(+), 20 deletions(-) diff --git a/system-config/configuration/homebox/default.nix b/system-config/configuration/homebox/default.nix index 038fe2d..dcc5d9e 100644 --- a/system-config/configuration/homebox/default.nix +++ b/system-config/configuration/homebox/default.nix @@ -111,12 +111,9 @@ users.users."nathan" = { isNormalUser = true; - initialPassword = "7567"; - #hashedPasswordFile = config.sops.secrets."nathan/pass".path; + hashedPasswordFile = config.sops.secrets."nathan/pass".path; extraGroups = [ "wheel" - "docker" - "podman" ]; # Enable ‘sudo’ for the user. openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAsU69CxfQk58CvItPN426h5Alnpb60SH37wet97Vb57 nathan@laptop" @@ -124,19 +121,12 @@ }; nix = { - nixPath = [ "nixpkgs=${inputs.nixpkgs}" "unstable=${inputs.nixpkgs-us}" ]; + nixPath = [ "nixpkgs=${inputs.nixpkgs}" ]; settings = { experimental-features = [ "nix-command" "flakes" ]; }; }; - virtualisation.docker.enable = true; - - environment.systemPackages = with pkgs; [ - docker - docker-compose - ]; - sops = { age.keyFile = "/home/nathan/.config/sops/age/keys.txt"; defaultSopsFile = ./secrets.yaml; @@ -146,11 +136,6 @@ "nathan/pass" = { neededForUsers = true; }; - - "authentik/pass" = {}; - "authentik/secret_key" = {}; - - "nextcloud/pass" = {}; }; }; @@ -217,12 +202,12 @@ faster-whisper = true; }; rustdesk.enable = false; #broken - pihole.enable = true; #broken - code-server.enable = false; + pihole.enable = false; #broken + code-server.enable = false; novnc.enable = true; minecraft.enable = true; - sandbox.enable = false; + sandbox.enable = false; }; }; }; diff --git a/system-config/services/containers/nextcloud/default.nix b/system-config/services/containers/nextcloud/default.nix index ce7e1c0..43f30d3 100644 --- a/system-config/services/containers/nextcloud/default.nix +++ b/system-config/services/containers/nextcloud/default.nix @@ -7,6 +7,8 @@ config = lib.mkIf config.sysconfig.opts.virtualization.nextcloud.enable { + sops.secrets."nextcloud/pass" = {}; + containers.nextcloud = { autoStart = true;