forked from fabian/nix_config
baseline
This commit is contained in:
commit
c8791adf39
33 changed files with 1844 additions and 0 deletions
17
home/gui/autorandr.nix
Normal file
17
home/gui/autorandr.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue