mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 08:06:50 +01:00
30 lines
543 B
Nix
30 lines
543 B
Nix
|
|
{
|
||
|
|
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;
|
||
|
|
};
|
||
|
|
};
|
||
|
|
}
|