5a4d076d84
Note: not the actual initial commit. I swear I will stop repeatedly force pushing to this single commit eventually ok.
20 lines
352 B
Nix
20 lines
352 B
Nix
{ pkgs, config, lib, ... }:
|
|
|
|
let
|
|
cfg = config.my.desktop.applications;
|
|
in {
|
|
options.my.desktop.applications = {
|
|
enable = lib.mkEnableOption null // {
|
|
default = config.my.desktop.enable;
|
|
};
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
environment.systemPackages = with pkgs; [
|
|
brightnessctl
|
|
acpi
|
|
powertop
|
|
];
|
|
};
|
|
}
|