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

@ -86,7 +86,7 @@
programs.virt-manager.enable = true;
systemd.packages = with pkgs; [lact];
systemd.services.lactd.wantedBy = ["multi-user.target"];
networking.hostName = "Absolution"; # Define your hostname.
networking.hostName = "absolution"; # Define your hostname.
powerManagement.cpuFreqGovernor = "performance";

View file

@ -25,7 +25,11 @@
PASSWORD_STORE_DIR = "/home/maya/sync/general/pass";
};
programs.gnupg.agent.enable = true;
programs.steam.enable = true;
environment.pathsToLink = [ "/share/xdg-desktop-portal" ];
security.sudo.package = pkgs.sudo.override { withInsults = true; };
# Configure network proxy if necessary
# networking.proxy.default = "http://user:password@proxy:port/";
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";

View file

@ -25,6 +25,9 @@
};
};
};
environment.pathsToLink = [ "/share/xdg-desktop-portal" ];
services.gvfs.enable = true;
security.sudo.package = pkgs.sudo.override { withInsults = true; };
programs.thunderbird.enable = true;

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";

View file

@ -21,6 +21,10 @@
};
};
environment.pathsToLink = [ "/share/xdg-desktop-portal" ];
security.sudo.package = pkgs.sudo.override { withInsults = true; };
programs.adb.enable = true;
environment.variables = {
WLR_NO_HARDWARE_CURSORS = "1";

View file

@ -20,6 +20,9 @@
jovian.steam.desktopSession = "plasma";
jovian.devices.steamdeck.autoUpdate = true;
environment.pathsToLink = [ "/share/xdg-desktop-portal" ];
security.sudo.package = pkgs.sudo.override { withInsults = true; };
programs = {
adb.enable = true;
@ -34,8 +37,6 @@
SystemMaxUse=2G
'';
hardware.steam-hardware.enable = true;
services.tailscale = {
enable = true;
useRoutingFeatures = "both";

View file

@ -29,6 +29,10 @@
SystemMaxUse=2G
'';
environment.pathsToLink = [ "/share/xdg-desktop-portal" ];
security.sudo.package = pkgs.sudo.override { withInsults = true; };
services.tailscale = {
enable = true;
useRoutingFeatures = "both";
@ -49,7 +53,7 @@
"vm.max_map_count" = 2147483642;
};
networking.hostName = "Umbriel"; # Define your hostname.
networking.hostName = "umbriel"; # Define your hostname.
powerManagement.cpuFreqGovernor = "performance";