diff --git a/programs/chromium.nix b/programs/chromium.nix index bbd3450..abb7dd6 100644 --- a/programs/chromium.nix +++ b/programs/chromium.nix @@ -1,7 +1,7 @@ _: { - nixpkgs.config.chromium.commandLineArgs = "--enable-features=UseOzonePlatform --ozone-platform=wayland"; - home-manager.users.buffet = { + home.sessionVariables.NIXOS_OZONE_WL = "1"; + programs.chromium = { enable = true; extensions = [ diff --git a/programs/sway.nix b/programs/sway.nix index c362de0..6d82d92 100644 --- a/programs/sway.nix +++ b/programs/sway.nix @@ -12,7 +12,7 @@ xwayland = false; config = let - browser = "firefox"; + browser = "chromium"; mod = "Mod4"; terminal = "alacritty"; theme = import ../theme.nix;