convoluted solution looking for a problem

unified modules structure
This commit is contained in:
Vinzenz Schroeter 2023-09-24 10:15:53 +02:00
parent bf3946e06f
commit 1b7989336e
14 changed files with 61 additions and 44 deletions

View file

@ -1,9 +1,14 @@
{
lib,
pkgs,
config,
...
}: {
config = {
}: let
isEnabled = config.my.hardware.enableCommonDesktopSettings;
in {
options.my.hardware.enableCommonDesktopSettings = lib.mkEnableOption "common hw settings for desktops";
config = lib.mkIf isEnabled {
boot = {
kernelPackages = pkgs.linuxPackages_zen;
kernelParams = ["quiet" "udev.log_level=3"];