mirror of
https://codeberg.org/tmayoff/.dotfiles.git
synced 2025-12-06 16:58:34 -05:00
30 lines
661 B
Nix
30 lines
661 B
Nix
{
|
|
inputs,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
imports = [
|
|
inputs.niri.nixosModules.niri
|
|
];
|
|
|
|
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"];
|
|
};
|
|
};
|
|
};
|
|
}
|