refactor: split overloaded modules

This commit is contained in:
Nickolaj Jepsen 2026-01-21 00:10:58 +01:00
parent 234ab50a2c
commit 15f5c2552d
15 changed files with 638 additions and 586 deletions

View file

@ -0,0 +1,29 @@
{
config,
lib,
pkgs,
inputs,
...
}: {
imports = [
./settings.nix
./binds.nix
./outputs.nix
];
config = lib.mkIf config.fireproof.desktop.windowManager.enable {
programs.xwayland.enable = true;
xdg.portal = {
enable = true;
extraPortals = [pkgs.xdg-desktop-portal-gtk];
config.common.default = "gnome";
xdgOpenUsePortal = true;
};
programs.niri = {
enable = true;
package = inputs.niri.packages."${pkgs.stdenv.hostPlatform.system}".niri-unstable;
};
};
}