From 706cfb237cb38b74335499d391b39f493c83c06b Mon Sep 17 00:00:00 2001 From: liv Date: Wed, 14 Aug 2024 18:23:18 +0200 Subject: [PATCH] improve amdgpu and add file manager --- home/common/desktop/default.nix | 6 ++++-- nixos/yukari/configuration.nix | 5 +++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/home/common/desktop/default.nix b/home/common/desktop/default.nix index 7d748ae..2d828ec 100644 --- a/home/common/desktop/default.nix +++ b/home/common/desktop/default.nix @@ -15,6 +15,8 @@ wl-clipboard vesktop xdg-utils + nautilus + adwaita-icon-theme ]; home.sessionVariables = { MOZ_ENABLE_WAYLAND = 1; @@ -27,12 +29,12 @@ xdg.mimeApps.enable = true; xdg.portal = { enable = true; - extraPortals = [pkgs.xdg-desktop-portal-wlr]; + extraPortals = [ pkgs.xdg-desktop-portal-wlr ]; config = { common = { default = [ "wlr" - ]; + ]; }; }; }; diff --git a/nixos/yukari/configuration.nix b/nixos/yukari/configuration.nix index e32bef6..a1d143f 100644 --- a/nixos/yukari/configuration.nix +++ b/nixos/yukari/configuration.nix @@ -35,6 +35,11 @@ boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; + boot.initrd.kernelModules = ["amdgpu"]; + hardware.opengl = { + enable = true; + driSupport = true; + }; networking.hostName = "yukari";