niri fixes

This commit is contained in:
Tyler Mayoff 2025-09-19 13:26:16 -04:00
parent 748624c12f
commit bca8eb1549
10 changed files with 36 additions and 83 deletions

View file

@ -1,30 +1,17 @@
{
inputs,
pkgs,
inputs,
...
}: {
imports = [
inputs.niri.nixosModules.niri
];
services.xserver.displayManager.gdm.enable = true;
niri-flake.cache.enable = true;
programs.niri.enable = true;
# programs.niri.package = pkgs.niri-unstable;
xdg.portal = {
enable = true;
extraPortals = [pkgs.xdg-desktop-portal-gnome pkgs.xdg-desktop-portal-gtk];
wlr.enable = true;
config = {
sway = {
default = ["gtk"];
};
niri = {
default = ["gnome" "gtk"];
"org.freedesktop.impl.portal.Access" = ["gtk"];
"org.freedesktop.impl.portal.Notification" = ["gtk"];
"org.freedesktop.impl.portal.Secret" = ["gnome-keyring"];
};
};
};
environment.systemPackages = with pkgs; [
nautilus
];
}