move options to separate modules, set up mkDocs generation
Build docs with nix and Material for mkDocs / build-docs (push) Successful in 1m33s
Build docs with nix and Material for mkDocs / build-docs (push) Successful in 1m33s
This commit is contained in:
33 files changed
+385
-276
No files matched your search
@@ -1,11 +1,5 @@
|
||||
{ inputs, self, ... }: {
|
||||
flake.nixosModules.gaming = { pkgs, config, lib, ... }: {
|
||||
options.features.hardware.steam-controller.enable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
description = "Enable tweaks and configurations that assist when using Valve's Steam Controller";
|
||||
};
|
||||
|
||||
config = lib.mkIf (config.features.hardware.steam-controller.enable) {
|
||||
home-manager.users.grey = lib.mkIf (config.features.nixos.home-manager.enable) {
|
||||
features.hardware.steam-controller.enable = lib.mkDefault true;
|
||||
@@ -14,12 +8,6 @@
|
||||
};
|
||||
|
||||
flake.homeModules.gaming = { pkgs, config, lib, inputs, ... }: {
|
||||
options.features.hardware.steam-controller.enable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
description = "Enable tweaks and configurations that assist when using Valve's Steam Controller";
|
||||
};
|
||||
|
||||
config = let
|
||||
pkgsCross = import inputs.nixpkgs {
|
||||
localSystem = "x86_64-linux";
|
||||
|
||||
Reference in new issue
Block a user