From e0d850f31d1ffdb808443ecbde99d3b5202c0480 Mon Sep 17 00:00:00 2001 From: Alexander Heldt Date: Sun, 18 Aug 2024 14:50:16 +0200 Subject: [PATCH] pinwheel: Add `chromium` module --- hosts/pinwheel/home.nix | 3 ++- hosts/pinwheel/modules/chromium/default.nix | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 hosts/pinwheel/modules/chromium/default.nix diff --git a/hosts/pinwheel/home.nix b/hosts/pinwheel/home.nix index cd91e75..2363111 100644 --- a/hosts/pinwheel/home.nix +++ b/hosts/pinwheel/home.nix @@ -22,12 +22,13 @@ pkgs.htop pkgs.onlyoffice-bin pkgs.wdisplays - pkgs.ungoogled-chromium pkgs.postman ]; home.stateVersion = "23.05"; }; }; + + environment.sessionVariables.NIXOS_OZONE_WL = "1"; }; } diff --git a/hosts/pinwheel/modules/chromium/default.nix b/hosts/pinwheel/modules/chromium/default.nix new file mode 100644 index 0000000..a9b071b --- /dev/null +++ b/hosts/pinwheel/modules/chromium/default.nix @@ -0,0 +1,6 @@ +{ pkgs, ... }: +{ + home-manager.users.alex= { + home.packages = [ pkgs.ungoogled-chromium ]; + }; +}