#2 adding basic configs still some missing
This commit is contained in:
parent
db30ab1fa9
commit
4a3a48af59
9 changed files with 114 additions and 10 deletions
BIN
modules/nixos/submodules/basics/.default.nix.swp
Normal file
BIN
modules/nixos/submodules/basics/.default.nix.swp
Normal file
Binary file not shown.
|
@ -1,14 +1,14 @@
|
|||
{
|
||||
options,
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
{ options
|
||||
, config
|
||||
, lib
|
||||
, pkgs
|
||||
, ...
|
||||
}:
|
||||
with lib;
|
||||
with lib.wyrdgard; let
|
||||
cfg = config.wyrdgard.suites.common;
|
||||
in {
|
||||
cfg = config.wyrdgard.submodules.basics;
|
||||
in
|
||||
{
|
||||
options.wyrdgard.submodules.basics = with types; {
|
||||
enable = mkBoolOpt false "Whether or not to enable basic configuration.";
|
||||
};
|
||||
|
@ -26,7 +26,7 @@ in {
|
|||
nix-ld = enabled;
|
||||
};
|
||||
|
||||
system.hardware = {
|
||||
hardware = {
|
||||
audio = enabled;
|
||||
bluetooth = enabled;
|
||||
networking = enabled;
|
||||
|
|
15
modules/nixos/submodules/games/default.nix
Normal file
15
modules/nixos/submodules/games/default.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ options, config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
with lib.wyrdgard;
|
||||
|
||||
let cfg = config.wyrdgard.submodules.games;
|
||||
in
|
||||
{
|
||||
options.wyrdgard.submodules.games = with types; {
|
||||
enable = mkBoolOpt false "Whether or not you want to enable non steam games such as minecraft";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable { };
|
||||
|
||||
}
|
14
modules/nixos/submodules/graphical-interface/default.nix
Normal file
14
modules/nixos/submodules/graphical-interface/default.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{ options, config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
with lib.wyrdgard;
|
||||
let
|
||||
cfg = config.wyrdgard.submodules.graphical-interface;
|
||||
in
|
||||
{
|
||||
options.wyrdgard.submodules.graphical-interface = with types; {
|
||||
enable = mkBoolOpt false "Whether to enable a graphical interface";
|
||||
};
|
||||
|
||||
|
||||
}
|
14
modules/nixos/submodules/socials/default.nix
Normal file
14
modules/nixos/submodules/socials/default.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{ options, config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
with lib.wyrdgard;
|
||||
let
|
||||
cfg = config.wyrdgard.submodules.socials;
|
||||
in
|
||||
{
|
||||
options.wyrdgard.submodules.socials = with types; {
|
||||
enable = mkBoolOpt false "Whether to enable a social apps";
|
||||
};
|
||||
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue