Add docsga

This commit is contained in:
DashieTM 2024-08-27 23:51:52 +02:00
parent a50f970eda
commit 2195c7a850
10 changed files with 98 additions and 17 deletions

View file

@ -93,14 +93,14 @@
};
};
kernel = lib.mkOption {
default = pkgs.linuxPackages_latest;
example = pkgs.linuxPackages_xanmod_latest;
type = with lib.types; nullOr attrs;
description = ''
kernel to be used
'';
};
#kernel = lib.mkOption {
# default = pkgs.linuxPackages_latest;
# example = pkgs.linuxPackages_xanmod_latest;
# type = with lib.types; nullOr attrs;
# description = ''
# kernel to be used
# '';
#};
hostname = lib.mkOption {
default = "nixos";
@ -203,9 +203,9 @@
config =
{
conf.kernel = lib.mkIf (
config.mods.gaming.enable && config.mods.gaming.kernel
) pkgs.linuxPackages_xanmod_latest;
# conf.kernel = lib.mkIf (
# config.mods.gaming.enable && config.mods.gaming.kernel
# ) pkgs.linuxPackages_xanmod_latest;
}
// (lib.optionalAttrs (options ? system.stateVersion) {
system.stateVersion = config.conf.systemStateVersion;