fix xdg-desktop-portal by applying nixpkgs pr

This commit is contained in:
2026-08-06 19:24:17 +02:00
parent 63070a33c4
commit 015a78fe35
5 changed files with 105 additions and 64 deletions
+15 -5
View File
@@ -17,10 +17,18 @@
xremap-flake.url = "github:xremap/nix-flake";
yazi.url = "github:sxyazi/yazi";
millennium.url = "github:SteamClientHomebrew/Millennium?dir=packages/nix";
bcdl-free.url = "git+https://git.pizzasucht.net/KeksNino/free-bandcamp-downloader";
bcdl-free = {
url = "git+https://git.pizzasucht.net/KeksNino/free-bandcamp-downloader";
inputs.nixpkgs.follows = "nixpkgs";
};
nixvim.url = "github:nix-community/nixvim";
hyprsplit.url = "github:shezdy/hyprsplit";
nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=latest";
nixpkgs-patcher.url = "github:gepbird/nixpkgs-patcher";
nixpkgs-patch-xdg-desktop-portal = {
url = "https://github.com/NixOS/nixpkgs/pull/548762.diff";
flake = false;
};
};
outputs =
@@ -37,23 +45,25 @@
nixvim,
hyprsplit,
nix-flatpak,
nixpkgs-patcher,
...
}@inputs:
let
system = "x86_64-linux";
in
{
nixosConfigurations.nixos-desktop = nixpkgs.lib.nixosSystem {
nixosConfigurations.nixos-desktop = nixpkgs-patcher.lib.nixosSystem {
specialArgs = {
inherit
inherit system;
inherit (inputs)
sls-steam
bcdl-free
xremap-flake
system
nixvim
nix-flatpak
;
};
nixpkgsPatcher.inputs = inputs;
modules = [
./hosts/desktop/configuration.nix
./hosts/desktop/hardware-configuration.nix
@@ -64,8 +74,8 @@
gsr-ui.nixosModules.default
{
nixpkgs.overlays = [
yazi.overlays.default
millennium.overlays.default
yazi.overlays.default
];
home-manager.users.user = import ./hosts/desktop/home-manager/home.nix;