From 6c4eab1e9d5d01a50ee01233a4ab5e8010fdd34e Mon Sep 17 00:00:00 2001 From: willifan Date: Mon, 20 May 2024 15:26:11 +0200 Subject: [PATCH 1/2] untracked vars --- .gitignore | 1 + flake.nix | 2 +- vars/default.nix | 6 ------ 3 files changed, 2 insertions(+), 7 deletions(-) create mode 100644 .gitignore delete mode 100644 vars/default.nix diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5ee7df0 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +vars/* \ No newline at end of file diff --git a/flake.nix b/flake.nix index 2ff62f8..f4072b3 100644 --- a/flake.nix +++ b/flake.nix @@ -35,7 +35,7 @@ "x86_64-linux" ]; inherit (nixpkgs) lib; - configVars = import ./vars { inherit inputs lib; }; + configVars = import /home/willifan/.nix-config/vars { inherit inputs lib; }; specialArgs = { inherit inputs outputs configVars nixpkgs; }; in { diff --git a/vars/default.nix b/vars/default.nix deleted file mode 100644 index 3312995..0000000 --- a/vars/default.nix +++ /dev/null @@ -1,6 +0,0 @@ -{ ... }: -{ - username = "willifan"; - hostname = "Puenktchen"; - email = "willifan@proton.me"; -} From 326c2c3127b76e37b4ec17206afbea103572440a Mon Sep 17 00:00:00 2001 From: willifan Date: Mon, 20 May 2024 17:07:07 +0200 Subject: [PATCH 2/2] fixed cursor environment variables --- users/willifan/graphical/hyprland/hyprland.nix | 5 ----- users/willifan/graphical/theme/cursor.nix | 8 +++++++- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/users/willifan/graphical/hyprland/hyprland.nix b/users/willifan/graphical/hyprland/hyprland.nix index 7fe54a0..e3f6a11 100644 --- a/users/willifan/graphical/hyprland/hyprland.nix +++ b/users/willifan/graphical/hyprland/hyprland.nix @@ -32,11 +32,6 @@ xwayland.force_zero_scaling = true; - env = [ - "XCURSOR_SIZE, 24" - "HYPRCURSOR_SIZE,24" - ]; - input = { kb_layout = "de"; kb_variant = ""; diff --git a/users/willifan/graphical/theme/cursor.nix b/users/willifan/graphical/theme/cursor.nix index 3613e91..0da61b1 100644 --- a/users/willifan/graphical/theme/cursor.nix +++ b/users/willifan/graphical/theme/cursor.nix @@ -1,11 +1,17 @@ { pkgs, home-manager, ... }: { + + environment.sessionVariables = { + XCURSOR_SIZE = "18"; + HYPRCURSOR_SIZE = "18"; + }; + home-manager.users.willifan = { home.pointerCursor = { gtk.enable = true; name = "Bibata-Modern-Classic"; package = pkgs.bibata-cursors; - size = 16; + size = 18; }; }; } \ No newline at end of file