2024-11-03 12:32:18 +00:00
|
|
|
{
|
|
|
|
disko,
|
|
|
|
home-manager,
|
2024-11-05 08:11:22 +00:00
|
|
|
lib,
|
2024-11-10 21:20:25 +00:00
|
|
|
inTester,
|
|
|
|
self,
|
2024-11-13 13:38:40 +00:00
|
|
|
rust-overlay,
|
2024-11-13 14:46:14 +00:00
|
|
|
nix-vscode-extensions,
|
2024-11-18 10:09:31 +00:00
|
|
|
inputs,
|
2024-11-03 12:32:18 +00:00
|
|
|
...
|
2024-11-05 08:11:22 +00:00
|
|
|
}:
|
2024-11-09 14:02:26 +00:00
|
|
|
with lib;
|
|
|
|
{
|
2024-10-28 13:58:23 +00:00
|
|
|
imports = [
|
|
|
|
./riscv.nix
|
2024-10-31 12:48:51 +00:00
|
|
|
./nix
|
2024-10-29 08:43:14 +00:00
|
|
|
./environment/impermanence.nix
|
2024-10-29 09:06:17 +00:00
|
|
|
./secrets/sops.nix
|
2024-10-29 12:29:05 +00:00
|
|
|
disko.nixosModules.default
|
2024-10-30 06:56:03 +00:00
|
|
|
./hydra/build-server.nix
|
2024-11-03 12:32:18 +00:00
|
|
|
"${home-manager}/nixos"
|
2024-10-28 13:58:23 +00:00
|
|
|
];
|
2024-11-05 08:11:22 +00:00
|
|
|
options.isGraphical = mkEnableOption "Whether or not this configuration is a graphical install";
|
2024-11-06 08:05:41 +00:00
|
|
|
options.isInstaller = mkEnableOption "Whether or not this configuration is an installer and has no access to secrets";
|
2024-11-10 21:20:25 +00:00
|
|
|
options.isNSFW = mkEnableOption "Whether or not this configuration is NSFW";
|
2024-11-17 07:51:07 +00:00
|
|
|
options.isIntelGPU = mkEnableOption "Whether or not this configuration uses an Intel GPU";
|
2024-11-10 21:20:25 +00:00
|
|
|
|
|
|
|
config =
|
|
|
|
if !inTester then
|
|
|
|
{
|
|
|
|
nixpkgs.overlays = [
|
2024-11-18 10:09:31 +00:00
|
|
|
(_: _: {
|
|
|
|
inherit inputs;
|
|
|
|
})
|
2024-11-10 21:20:25 +00:00
|
|
|
self.overlays.default
|
2024-11-13 13:38:40 +00:00
|
|
|
(import rust-overlay)
|
2024-11-13 14:46:14 +00:00
|
|
|
nix-vscode-extensions.overlays.default
|
2024-11-10 21:20:25 +00:00
|
|
|
];
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{ };
|
2024-10-28 13:58:23 +00:00
|
|
|
}
|