nixos-config/modules/default.nix

28 lines
765 B
Nix
Raw Permalink Normal View History

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-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";
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-24 13:59:35 +00:00
options.isSway = mkEnableOption "Whether to use sway or kde";
2024-10-28 13:58:23 +00:00
}