Skip to content

Commit 7460694

Browse files
aster-voidclaude
andcommitted
treewide: fix flake and xdg-portal warnings
- Remove invalid `inputs` flake output - Convert `overlays` from list to attrset - Add xdg.portal.config for portal 1.17 compatibility 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent fa03218 commit 7460694

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

flake.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
shared = import ./shared;
5757
};
5858
in {
59-
inherit inputs overlays;
59+
overlays.default = myOverlay;
6060
packages.${system} = import ./my/pkgs/default.nix {inherit inputs pkgs;};
6161
nixosModules = import ./my/nixosModules;
6262

home-manager/global/hyprland/default.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ in {
3838
};
3939

4040
config = {
41+
xdg.portal.config.common.default = "*";
42+
4143
wayland.windowManager.hyprland = {
4244
enable = true;
4345
package = null; # Use NixOS module's package

nixos/profiles/desktop/gui.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ in {
3838
xdg.portal = lib.mkIf cfg.enable {
3939
enable = true;
4040
# xdgOpenUsePortal = true;
41+
config.common.default = "*";
4142
extraPortals = with pkgs; [
4243
xdg-desktop-portal-gtk
4344
];

0 commit comments

Comments
 (0)