refactor: move sessionVariables.BROWSER into chromium.nix

This commit is contained in:
buffet 2022-08-28 15:08:11 +00:00
parent 9ef0ece9d7
commit 5efe210d80
2 changed files with 4 additions and 5 deletions

View file

@ -47,10 +47,6 @@ in {
wl-clipboard wl-clipboard
]; ];
sessionVariables = {
BROWSER = "chromium";
};
pointerCursor = { pointerCursor = {
package = pkgs.phinger-cursors; package = pkgs.phinger-cursors;
name = "phinger-cursors-light"; name = "phinger-cursors-light";

View file

@ -1,6 +1,9 @@
_: { _: {
home-manager.users.buffet = { home-manager.users.buffet = {
home.sessionVariables.NIXOS_OZONE_WL = "1"; home.sessionVariables = {
BROWSER = "chromium";
NIXOS_OZONE_WL = "1";
};
programs.chromium = { programs.chromium = {
enable = true; enable = true;