add disabled module support and swapped minio module to unstable
This commit is contained in:
parent
026876791e
commit
5f117ac077
2 changed files with 5 additions and 1 deletions
|
@ -105,6 +105,7 @@
|
||||||
{
|
{
|
||||||
self,
|
self,
|
||||||
nixpkgs,
|
nixpkgs,
|
||||||
|
nixpkgs-unstable,
|
||||||
sops-nix,
|
sops-nix,
|
||||||
home-manager,
|
home-manager,
|
||||||
nix-vscode-extensions,
|
nix-vscode-extensions,
|
||||||
|
@ -150,6 +151,7 @@
|
||||||
hostname,
|
hostname,
|
||||||
system ? "x86_64-linux",
|
system ? "x86_64-linux",
|
||||||
nixpkgs ? inputs.nixpkgs,
|
nixpkgs ? inputs.nixpkgs,
|
||||||
|
disabledModules ? [ ],
|
||||||
hardwareModules ? [ ],
|
hardwareModules ? [ ],
|
||||||
# basemodules is the base of the entire machine building
|
# basemodules is the base of the entire machine building
|
||||||
# here we import all the modules and setup home-manager
|
# here we import all the modules and setup home-manager
|
||||||
|
@ -167,6 +169,7 @@
|
||||||
inherit inputs hostname system;
|
inherit inputs hostname system;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
disabledModules = disabledModules;
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
profileModules ? [ ],
|
profileModules ? [ ],
|
||||||
|
@ -223,12 +226,14 @@
|
||||||
# Workloads server
|
# Workloads server
|
||||||
hostname = "shadowfax";
|
hostname = "shadowfax";
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
|
disabledModules = [ "services/web-servers/minio.nix" ];
|
||||||
hardwareModules = [
|
hardwareModules = [
|
||||||
lix-module.nixosModules.default
|
lix-module.nixosModules.default
|
||||||
./nixos/profiles/hw-threadripperpro.nix
|
./nixos/profiles/hw-threadripperpro.nix
|
||||||
];
|
];
|
||||||
profileModules = [
|
profileModules = [
|
||||||
vscode-server.nixosModules.default
|
vscode-server.nixosModules.default
|
||||||
|
"${nixpkgs-unstable}/nixos/modules/services/web-servers/minio.nix"
|
||||||
./nixos/profiles/role-dev.nix
|
./nixos/profiles/role-dev.nix
|
||||||
./nixos/profiles/role-server.nix
|
./nixos/profiles/role-server.nix
|
||||||
{ home-manager.users.jahanson = ./nixos/home/jahanson/server.nix; }
|
{ home-manager.users.jahanson = ./nixos/home/jahanson/server.nix; }
|
||||||
|
|
|
@ -141,7 +141,6 @@ in
|
||||||
|
|
||||||
# VSCode Compatibility Settings
|
# VSCode Compatibility Settings
|
||||||
vscode-server.enable = true;
|
vscode-server.enable = true;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# sops
|
# sops
|
||||||
|
|
Loading…
Reference in a new issue