this commit adds the environment.pathsToLink line that makes niri through home manager work properly, allowing the xdg portals to start

This commit is contained in:
cydiralis 2025-06-26 08:35:21 +01:00
parent 75bae99f01
commit 1ceb065323
No known key found for this signature in database
7 changed files with 26 additions and 19 deletions

View file

@ -20,23 +20,15 @@
enable = true;
capSysNice = false;
};
steam = {
enable = true;
protontricks.enable = true;
extraPackages = with pkgs; [
xorg.libXcursor
xorg.libXi
xorg.libXinerama
xorg.libXScrnSaver
xorg.libxcb
libpng
libpulseaudio
flashrom.enable = true;
nix-ld.enable = true;
nix-ld.libraries = with pkgs; [xorg.libxcb libao xorg.libX11 libusb1 cargo rustc pkg-config cacert];
};
environment.pathsToLink = [ "/share/xdg-desktop-portal" ];
security.sudo.package = pkgs.sudo.override { withInsults = true; };
services.journald.extraConfig = ''
SystemMaxUse=2G
'';
@ -50,7 +42,6 @@
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.initrd.systemd.enable = true;
boot.initrd.kernelModules = [ "amdgpu" ];
boot.loader.efi.efiSysMountPoint = "/boot/";
boot.extraModulePackages = [
config.boot.kernelPackages.v4l2loopback.out
@ -60,7 +51,7 @@
"vm.max_map_count" = 2147483642;
};
networking.hostName = "Katara"; # Define your hostname.
networking.hostName = "hassie"; # Define your hostname.
powerManagement.cpuFreqGovernor = "performance";