mirror of
https://codeberg.org/tmayoff/.dotfiles.git
synced 2025-12-06 08:48:34 -05:00
trying to get GTK4 apps working
This commit is contained in:
parent
625725b734
commit
e65d7c392e
4 changed files with 82 additions and 26 deletions
30
dot_config/flake/modules/nixos/niri.nix
Normal file
30
dot_config/flake/modules/nixos/niri.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{
|
||||
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"];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue