refactor(repo): reformat to nixfmt; relicense to 0BSD
This commit is contained in:
parent
035fb24038
commit
db2564d828
39 changed files with 451 additions and 318 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue