diff --git a/flake.nix b/flake.nix index 6051ec5..a059cb4 100644 --- a/flake.nix +++ b/flake.nix @@ -81,11 +81,9 @@ checks.pre-commit-check = pre-commit-hooks.lib.${system}.run { src = ./.; - hooks = { - nixpkgs-fmt = { - enable = true; - name = pkgs.lib.mkForce "Nix files format"; - }; + hooks.nixpkgs-fmt = { + enable = true; + name = pkgs.lib.mkForce "Nix files format"; }; }; diff --git a/system/default.nix b/system/default.nix index 8609f1c..f21b7fd 100644 --- a/system/default.nix +++ b/system/default.nix @@ -279,14 +279,12 @@ }; qt.style = "adwaita-dark"; - xdg = { - portal = { - enable = true; - config.common.default = "*"; - extraPortals = with pkgs; [ - xdg-desktop-portal-wlr - xdg-desktop-portal-gtk - ]; - }; + xdg.portal = { + enable = true; + config.common.default = "*"; + extraPortals = with pkgs; [ + xdg-desktop-portal-wlr + xdg-desktop-portal-gtk + ]; }; }