16 lines
365 B
Nix
16 lines
365 B
Nix
{ config, lib, pkgs, ... }: {
|
|
|
|
options.sysconfig.opts.ags.enable = lib.options.mkOption {
|
|
type = lib.types.bool;
|
|
default = false;
|
|
};
|
|
|
|
config = lib.mkIf config.sysconfig.opts.ags.enable {
|
|
services = {
|
|
upower.enable = true;
|
|
gvfs.enable = true;
|
|
power-profiles-daemon.enable = true;
|
|
};
|
|
};
|
|
}
|