diff --git a/home-modules/plasma.nix b/home-modules/plasma.nix index 398dc81..f31e58b 100644 --- a/home-modules/plasma.nix +++ b/home-modules/plasma.nix @@ -51,6 +51,7 @@ "org.kde.plasma.brightness" "org.kde.plasma.volume" "plasmashell_microphone" + (lib.mkIf (osConfig.lumpiasty.laptop == true) "org.kde.plasma.battery") ]; }; }; diff --git a/hosts/acer.nix b/hosts/acer.nix index a6d31f3..a1bbf19 100644 --- a/hosts/acer.nix +++ b/hosts/acer.nix @@ -78,6 +78,7 @@ rec { pointerSpeed = 0.2; accelerationProfile = "default"; }; + laptop = true; }; virtualisation.vmVariant = { diff --git a/modules/system/roles.nix b/modules/system/roles.nix index 3779565..1536845 100644 --- a/modules/system/roles.nix +++ b/modules/system/roles.nix @@ -2,4 +2,5 @@ { options.lumpiasty.pc = lib.mkEnableOption "Enable options specific to personal computers"; + options.lumpiasty.laptop = lib.mkEnableOption "Enable options specific to laptops"; } \ No newline at end of file