From afd5444a88658bdf7fe1b24bb0d5eeccc6dc9357 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Thu, 29 Jul 2021 12:22:46 +0200 Subject: [PATCH] home: x: cursor: enable by default --- home/x/cursor.nix | 2 +- hosts/boreal/home.nix | 1 - hosts/zephyrus/home.nix | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/home/x/cursor.nix b/home/x/cursor.nix index 0b69d47..76226b4 100644 --- a/home/x/cursor.nix +++ b/home/x/cursor.nix @@ -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 = { diff --git a/hosts/boreal/home.nix b/hosts/boreal/home.nix index 06d4c33..68ef790 100644 --- a/hosts/boreal/home.nix +++ b/hosts/boreal/home.nix @@ -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; diff --git a/hosts/zephyrus/home.nix b/hosts/zephyrus/home.nix index fbb2013..0af58ba 100644 --- a/hosts/zephyrus/home.nix +++ b/hosts/zephyrus/home.nix @@ -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;