45 lines
887 B
Nix
45 lines
887 B
Nix
{
|
|
inputs,
|
|
lib,
|
|
...
|
|
}: {
|
|
imports = [
|
|
./audio.nix
|
|
./bash.nix
|
|
./boot.nix
|
|
./configuration.nix
|
|
./display.nix
|
|
./locale.nix
|
|
./mnt.nix
|
|
./plasma.nix
|
|
./security.nix
|
|
./virt.nix
|
|
../overlays
|
|
inputs.sops-nix.nixosModules.sops
|
|
];
|
|
options.u = {
|
|
has = {
|
|
graphical = lib.mkOption {
|
|
type = lib.types.bool;
|
|
description = "enable graphical settings";
|
|
default = true;
|
|
};
|
|
wine = lib.mkOption {
|
|
type = lib.types.bool;
|
|
description = "enable wine settings";
|
|
default = true;
|
|
};
|
|
virt = lib.mkOption {
|
|
type = lib.types.bool;
|
|
description = "enable virt settings";
|
|
default = true;
|
|
};
|
|
container = lib.mkOption {
|
|
type = lib.types.bool;
|
|
description = "enable container settings";
|
|
default = true;
|
|
};
|
|
};
|
|
};
|
|
}
|