This repository has been archived on 2025-08-26. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
t14_legacy_config/home/gui/autorandr.nix
2022-11-29 21:29:21 -06:00

14 lines
325 B
Nix

{ 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;
};
};
}