refactor(repo): reformat to nixfmt; relicense to 0BSD

This commit is contained in:
Artur Manuel 2025-03-06 20:45:49 +00:00
commit db2564d828
Signed by: amadaluzia
SSH key fingerprint: SHA256:Zwg7gBuZyaG48ucAZneJwltiXu0+tJb7c3lYt9AYlLg
39 changed files with 451 additions and 318 deletions

View file

@ -3,12 +3,14 @@
pkgs,
lib,
...
}: let
}:
let
cfg = config.alqueva.wms.niri;
in {
in
{
options.alqueva.wms.niri = {
enable = lib.mkEnableOption "niri";
package = lib.mkPackageOption pkgs "niri" {};
package = lib.mkPackageOption pkgs "niri" { };
};
config = lib.mkIf cfg.enable {
@ -28,7 +30,7 @@ in {
];
};
};
configPackages = [cfg.package];
configPackages = [ cfg.package ];
extraPortals = [
pkgs.xdg-desktop-portal-gnome
pkgs.xdg-desktop-portal-gtk
@ -36,7 +38,7 @@ in {
};
services = {
displayManager.sessionPackages = [cfg.package];
displayManager.sessionPackages = [ cfg.package ];
gnome.gnome-keyring.enable = true;
};