From 54ee77de4df8fc60e77787409894f4773dec7570 Mon Sep 17 00:00:00 2001 From: moons14 Date: Wed, 29 Oct 2025 02:49:02 +0900 Subject: [PATCH] fix: error --- modules/core/environment.nix | 1 + modules/home/browser.nix | 2 ++ profiles/gui.nix | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/core/environment.nix b/modules/core/environment.nix index 86ca607..0193d09 100644 --- a/modules/core/environment.nix +++ b/modules/core/environment.nix @@ -3,5 +3,6 @@ environment.sessionVariables = { ELECTRON_OZONE_PLATFORM_HINT = "wayland"; QT_QPA_PLATFORM = "wayland;xcb"; + NIXOS_OZONE_WL = "1"; }; } \ No newline at end of file diff --git a/modules/home/browser.nix b/modules/home/browser.nix index cee633e..b398e29 100644 --- a/modules/home/browser.nix +++ b/modules/home/browser.nix @@ -1,6 +1,8 @@ { pkgs, ... }: { + nixpkgs.config.allowUnfree = true; + home.packages = with pkgs; [ google-chrome ]; diff --git a/profiles/gui.nix b/profiles/gui.nix index db9bd3a..0e6e066 100644 --- a/profiles/gui.nix +++ b/profiles/gui.nix @@ -5,10 +5,10 @@ ./../modules/core/niri.nix ./../modules/core/hyprland.nix ./../modules/core/greetd.nix - ./../modules/core/browser.nix ]; home-manager.users.moons.imports = [ ./../modules/home/vscode.nix + ./../modules/core/browser.nix ]; } \ No newline at end of file