refactor(flake): avoid imports

This commit is contained in:
Artur Manuel 2025-02-04 11:10:02 +00:00
commit b57b8151ed
7 changed files with 54 additions and 63 deletions

View file

@ -12,26 +12,30 @@ in {
};
config = lib.mkIf cfg.enable {
alqueva.support.wayland = true;
xdg.portal = {
enable = true;
configPackages = [cfg.package];
extraPortals = [pkgs.xdg-desktop-portal-gnome];
config = {
niri = {
default = [
"gnome"
];
"org.freedesktop.impl.portal.Secret" = [
"gnome-keyring"
];
};
};
};
environment.systemPackages = [
cfg.package
];
xdg.portal = {
config = {
niri = {
"org.freedesktop.impl.portal.Secret" = [
"gnome-keyring"
];
default = [
"gnome"
"gtk"
];
};
};
configPackages = [cfg.package];
extraPortals = [
pkgs.xdg-desktop-portal-gnome
pkgs.xdg-desktop-portal-gtk
];
};
alqueva.support.wayland = true;
services.gnome.gnome-keyring.enable = true;
};
}