Serenity/modules/features/desktop/niri.nix
2026-08-31 16:26:45 +10:00

49 lines
642 B
Nix

{ self, inputs, ... }: {
# module declaration
flake.modules.nixos.niri = { pkgs, ... }: {
programs.niri = {
# enables niri
enable = true;
};
};
# defines a niri hm config
flake.modules.homeManager.niri =
{
config,
pkgs,
lib,
...
}:
{
imports = [
# launcher
self.modules.homeManager.wofi
# desktop shell
self.modules.homeManager.noctalia
];
programs = {
niri = {
# enables niri
enable = true;
# niri settings
settings = {
};
};
};
};
}