This commit is contained in:
Fabian Montero 2024-09-05 12:28:09 -06:00
commit c8791adf39
Signed by untrusted user: fabian
GPG key ID: 1FFAC35E1798174F
33 changed files with 1844 additions and 0 deletions

17
home/gui/autorandr.nix Normal file
View file

@ -0,0 +1,17 @@
{
config,
pkgs,
lib,
...
}:
with lib; let
cfg = config.local.gui.autorandr;
in {
options.local.gui.autorandr.enable = mkEnableOption "Autorandr";
config = mkIf cfg.enable {
programs.autorandr = {
enable = true;
profiles."${config.local.platform}" = config.local.display.autorandrProfile;
};
};
}