From 611576f9ee5232dfc399843c12dfeed5d58ec9ad Mon Sep 17 00:00:00 2001 From: adikro Date: Wed, 3 Dec 2025 22:18:16 +0100 Subject: fixed screensharing on niri (by removing hyprland), configured some shell utilities --- hosts/desktop/configuration.nix | 34 ++++++++++++---------------------- 1 file changed, 12 insertions(+), 22 deletions(-) (limited to 'hosts') diff --git a/hosts/desktop/configuration.nix b/hosts/desktop/configuration.nix index efec049..9520908 100644 --- a/hosts/desktop/configuration.nix +++ b/hosts/desktop/configuration.nix @@ -12,7 +12,7 @@ ../../modules/networking.nix ../../modules/scx.nix ../../modules/tor.nix - ../../modules/hyprland.nix + # ../../modules/hyprland.nix ../../modules/niri.nix ../../modules/ollama.nix inputs.home-manager.nixosModules.home-manager @@ -92,10 +92,10 @@ services.lact.enable = true; enable = true; enable32Bit = true; }; - amdgpu = { - initrd.enable = true; - overdrive.enable = true; - }; + # amdgpu = { + # initrd.enable = true; + # overdrive.enable = true; + # }; }; chaotic = { @@ -108,16 +108,7 @@ chaotic = { }; }; -services.dbus.enable = true; - -xdg.portal = { - enable = true; - xdgOpenUsePortal = true; - extraPortals = with pkgs; [ - xdg-desktop-portal-gnome - xdg-desktop-portal-gtk - ]; -}; +xdg.portal.enable = true; time.timeZone = "Europe/Warsaw"; @@ -143,11 +134,7 @@ xdg.portal = { }; environment.sessionVariables = { - NH_FLAKE = "/etc/nixos"; NIXOS_OZONE_WL = "1"; - MOZ_ENABLE_WAYLAND = "1"; - GDK_BACKEND = "wayland"; - QT_QPA_PLATFORM = "wayland"; ELECTRON_ENABLE_WAYLAND = "1"; }; @@ -159,10 +146,15 @@ environment.sessionVariables = { home = "/home/adam"; shell = pkgs.fish; }; + + programs.nh = { + enable = true; + flake = "/etc/nixos"; + }; environment.systemPackages = with pkgs; [ + gnome-keyring kdePackages.dolphin - dbus swaylock-effects swayidle helvum @@ -171,8 +163,6 @@ environment.sessionVariables = { winetricks tuigreet linux-firmware - dbus - nh mangohud cliphist wl-clipboard -- cgit v1.3