nix-conf/system/default.nix

37 lines
643 B
Nix
Raw Permalink Normal View History

2025-01-19 00:44:22 -05:00
{
inputs,
lib,
...
}: {
2024-10-18 23:42:11 -04:00
imports = [
./audio.nix
./bash.nix
./boot.nix
./configuration.nix
./display.nix
./locale.nix
2025-01-19 00:44:22 -05:00
./mnt.nix
2024-10-18 23:42:11 -04:00
./security.nix
./virt.nix
2025-02-25 17:36:22 -05:00
./yubikey.nix
2025-01-01 01:04:23 -05:00
../overlays
2025-01-19 00:44:22 -05:00
inputs.sops-nix.nixosModules.sops
2024-10-18 23:42:11 -04:00
];
2024-12-22 23:46:42 -05:00
options.u = {
2025-02-25 17:36:22 -05:00
has = let
mkOpt = name:
lib.mkOption {
type = lib.types.bool;
description = "enable ${name}";
default = true;
};
in {
graphical = mkOpt "graphical";
wine = mkOpt "wine";
virt = mkOpt "virt";
container = mkOpt "container";
yubikey = mkOpt "yubikey";
2024-12-22 23:46:42 -05:00
};
};
2024-10-18 23:42:11 -04:00
}