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:
parent
75bae99f01
commit
1ceb065323
7 changed files with 26 additions and 19 deletions
|
|
@ -86,7 +86,7 @@
|
||||||
programs.virt-manager.enable = true;
|
programs.virt-manager.enable = true;
|
||||||
systemd.packages = with pkgs; [lact];
|
systemd.packages = with pkgs; [lact];
|
||||||
systemd.services.lactd.wantedBy = ["multi-user.target"];
|
systemd.services.lactd.wantedBy = ["multi-user.target"];
|
||||||
networking.hostName = "Absolution"; # Define your hostname.
|
networking.hostName = "absolution"; # Define your hostname.
|
||||||
|
|
||||||
powerManagement.cpuFreqGovernor = "performance";
|
powerManagement.cpuFreqGovernor = "performance";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,11 @@
|
||||||
PASSWORD_STORE_DIR = "/home/maya/sync/general/pass";
|
PASSWORD_STORE_DIR = "/home/maya/sync/general/pass";
|
||||||
};
|
};
|
||||||
programs.gnupg.agent.enable = true;
|
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
|
# Configure network proxy if necessary
|
||||||
# networking.proxy.default = "http://user:password@proxy:port/";
|
# networking.proxy.default = "http://user:password@proxy:port/";
|
||||||
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,9 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
environment.pathsToLink = [ "/share/xdg-desktop-portal" ];
|
||||||
|
|
||||||
services.gvfs.enable = true;
|
services.gvfs.enable = true;
|
||||||
security.sudo.package = pkgs.sudo.override { withInsults = true; };
|
security.sudo.package = pkgs.sudo.override { withInsults = true; };
|
||||||
programs.thunderbird.enable = true;
|
programs.thunderbird.enable = true;
|
||||||
|
|
|
||||||
|
|
@ -20,23 +20,15 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
capSysNice = false;
|
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;
|
flashrom.enable = true;
|
||||||
nix-ld.enable = true;
|
nix-ld.enable = true;
|
||||||
nix-ld.libraries = with pkgs; [xorg.libxcb libao xorg.libX11 libusb1 cargo rustc pkg-config cacert];
|
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 = ''
|
services.journald.extraConfig = ''
|
||||||
SystemMaxUse=2G
|
SystemMaxUse=2G
|
||||||
'';
|
'';
|
||||||
|
|
@ -50,7 +42,6 @@
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
boot.initrd.systemd.enable = true;
|
boot.initrd.systemd.enable = true;
|
||||||
boot.initrd.kernelModules = [ "amdgpu" ];
|
|
||||||
boot.loader.efi.efiSysMountPoint = "/boot/";
|
boot.loader.efi.efiSysMountPoint = "/boot/";
|
||||||
boot.extraModulePackages = [
|
boot.extraModulePackages = [
|
||||||
config.boot.kernelPackages.v4l2loopback.out
|
config.boot.kernelPackages.v4l2loopback.out
|
||||||
|
|
@ -60,7 +51,7 @@
|
||||||
"vm.max_map_count" = 2147483642;
|
"vm.max_map_count" = 2147483642;
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.hostName = "Katara"; # Define your hostname.
|
networking.hostName = "hassie"; # Define your hostname.
|
||||||
|
|
||||||
powerManagement.cpuFreqGovernor = "performance";
|
powerManagement.cpuFreqGovernor = "performance";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,10 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
environment.pathsToLink = [ "/share/xdg-desktop-portal" ];
|
||||||
|
|
||||||
|
security.sudo.package = pkgs.sudo.override { withInsults = true; };
|
||||||
|
|
||||||
programs.adb.enable = true;
|
programs.adb.enable = true;
|
||||||
environment.variables = {
|
environment.variables = {
|
||||||
WLR_NO_HARDWARE_CURSORS = "1";
|
WLR_NO_HARDWARE_CURSORS = "1";
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,9 @@
|
||||||
jovian.steam.desktopSession = "plasma";
|
jovian.steam.desktopSession = "plasma";
|
||||||
jovian.devices.steamdeck.autoUpdate = true;
|
jovian.devices.steamdeck.autoUpdate = true;
|
||||||
|
|
||||||
|
environment.pathsToLink = [ "/share/xdg-desktop-portal" ];
|
||||||
|
|
||||||
|
security.sudo.package = pkgs.sudo.override { withInsults = true; };
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
adb.enable = true;
|
adb.enable = true;
|
||||||
|
|
@ -34,8 +37,6 @@
|
||||||
SystemMaxUse=2G
|
SystemMaxUse=2G
|
||||||
'';
|
'';
|
||||||
|
|
||||||
hardware.steam-hardware.enable = true;
|
|
||||||
|
|
||||||
services.tailscale = {
|
services.tailscale = {
|
||||||
enable = true;
|
enable = true;
|
||||||
useRoutingFeatures = "both";
|
useRoutingFeatures = "both";
|
||||||
|
|
|
||||||
|
|
@ -29,6 +29,10 @@
|
||||||
SystemMaxUse=2G
|
SystemMaxUse=2G
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
environment.pathsToLink = [ "/share/xdg-desktop-portal" ];
|
||||||
|
|
||||||
|
security.sudo.package = pkgs.sudo.override { withInsults = true; };
|
||||||
|
|
||||||
services.tailscale = {
|
services.tailscale = {
|
||||||
enable = true;
|
enable = true;
|
||||||
useRoutingFeatures = "both";
|
useRoutingFeatures = "both";
|
||||||
|
|
@ -49,7 +53,7 @@
|
||||||
"vm.max_map_count" = 2147483642;
|
"vm.max_map_count" = 2147483642;
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.hostName = "Umbriel"; # Define your hostname.
|
networking.hostName = "umbriel"; # Define your hostname.
|
||||||
|
|
||||||
powerManagement.cpuFreqGovernor = "performance";
|
powerManagement.cpuFreqGovernor = "performance";
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue