From 5f117ac077ad46fef4937b58706b54f166cf8862 Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Mon, 23 Dec 2024 23:56:20 -0600 Subject: [PATCH] add disabled module support and swapped minio module to unstable --- flake.nix | 5 +++++ nixos/hosts/shadowfax/default.nix | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 6424201..59e6b80 100644 --- a/flake.nix +++ b/flake.nix @@ -105,6 +105,7 @@ { self, nixpkgs, + nixpkgs-unstable, sops-nix, home-manager, nix-vscode-extensions, @@ -150,6 +151,7 @@ hostname, system ? "x86_64-linux", nixpkgs ? inputs.nixpkgs, + disabledModules ? [ ], hardwareModules ? [ ], # basemodules is the base of the entire machine building # here we import all the modules and setup home-manager @@ -167,6 +169,7 @@ inherit inputs hostname system; }; }; + disabledModules = disabledModules; } ], profileModules ? [ ], @@ -223,12 +226,14 @@ # Workloads server hostname = "shadowfax"; system = "x86_64-linux"; + disabledModules = [ "services/web-servers/minio.nix" ]; hardwareModules = [ lix-module.nixosModules.default ./nixos/profiles/hw-threadripperpro.nix ]; profileModules = [ vscode-server.nixosModules.default + "${nixpkgs-unstable}/nixos/modules/services/web-servers/minio.nix" ./nixos/profiles/role-dev.nix ./nixos/profiles/role-server.nix { home-manager.users.jahanson = ./nixos/home/jahanson/server.nix; } diff --git a/nixos/hosts/shadowfax/default.nix b/nixos/hosts/shadowfax/default.nix index d76b3c7..db74f65 100644 --- a/nixos/hosts/shadowfax/default.nix +++ b/nixos/hosts/shadowfax/default.nix @@ -141,7 +141,6 @@ in # VSCode Compatibility Settings vscode-server.enable = true; - }; # sops