to be continued
This commit is contained in:
parent
030f251ce9
commit
fcaa48df90
8 changed files with 255 additions and 36 deletions
44
modules/nixos/submodules/basics/default.nix
Normal file
44
modules/nixos/submodules/basics/default.nix
Normal file
|
@ -0,0 +1,44 @@
|
|||
{
|
||||
options,
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
with lib.wyrdgard; let
|
||||
cfg = config.wyrdgard.suites.common;
|
||||
in {
|
||||
options.wyrdgard.submodules.basics = with types; {
|
||||
enable = mkBoolOpt false "Whether or not to enable basic configuration.";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
environment.systemPackages = [
|
||||
|
||||
];
|
||||
|
||||
wyrdgard = {
|
||||
nix = enabled;
|
||||
|
||||
tools = {
|
||||
git = enabled;
|
||||
nix-ld = enabled;
|
||||
};
|
||||
|
||||
system.hardware = {
|
||||
audio = enabled;
|
||||
bluetooth = enabled;
|
||||
networking = enabled;
|
||||
};
|
||||
|
||||
system = {
|
||||
boot = enabled;
|
||||
fonts = enabled;
|
||||
locale = enabled;
|
||||
time = enabled;
|
||||
xkb = enabled;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue