From 5efe210d8041e892c0cf7b6ab80f7f5460383c2c Mon Sep 17 00:00:00 2001 From: buffet Date: Sun, 28 Aug 2022 15:08:11 +0000 Subject: [PATCH] refactor: move sessionVariables.BROWSER into chromium.nix --- fanya.nix | 4 ---- programs/chromium.nix | 5 ++++- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/fanya.nix b/fanya.nix index e57b27a..a7c2592 100644 --- a/fanya.nix +++ b/fanya.nix @@ -47,10 +47,6 @@ in { wl-clipboard ]; - sessionVariables = { - BROWSER = "chromium"; - }; - pointerCursor = { package = pkgs.phinger-cursors; name = "phinger-cursors-light"; diff --git a/programs/chromium.nix b/programs/chromium.nix index abb7dd6..36ba4c4 100644 --- a/programs/chromium.nix +++ b/programs/chromium.nix @@ -1,6 +1,9 @@ _: { home-manager.users.buffet = { - home.sessionVariables.NIXOS_OZONE_WL = "1"; + home.sessionVariables = { + BROWSER = "chromium"; + NIXOS_OZONE_WL = "1"; + }; programs.chromium = { enable = true;