home: x: cursor: enable by default

This commit is contained in:
Antoine Martin 2021-07-29 12:22:46 +02:00
parent 1d75c36f9e
commit afd5444a88
3 changed files with 1 additions and 3 deletions

View file

@ -3,7 +3,7 @@ let
cfg = config.my.home.x.cursor;
in
{
options.my.home.x.cursor.enable = lib.mkEnableOption "X cursor";
options.my.home.x.cursor.enable = (lib.mkEnableOption "X cursor") // { default = config.my.home.x.enable; };
config = lib.mkIf cfg.enable {
xsession.pointerCursor = {

View file

@ -5,7 +5,6 @@
my.home.x.enable = true;
my.home.x.i3bar.temperature.chip = "k10temp-pci-*";
my.home.x.i3bar.temperature.inputs = [ "Tccd1" ];
my.home.x.cursor.enable = true;
my.home.alacritty.enable = true;
my.home.emacs.enable = true;

View file

@ -7,7 +7,6 @@
my.home.x.enable = true;
my.home.x.i3bar.temperature.chip = "coretemp-isa-*";
my.home.x.i3bar.temperature.inputs = ["Core 0" "Core 1" "Core 2" "Core 3"];
my.home.x.cursor.enable = true;
my.home.alacritty.enable = true;
my.home.emacs.enable = true;