Sets up a config for Niri which involved both the host and user config settings. It's a semi basic set up to be improved on further later. This also needs to bump flake so that niri can be added to the flake update. I don't know what the flake bump date was at this point, so I'll have to bump it again soon. This needs to break apart the "waylandcompositors" service to allow niri and hypr to better fit the directory structure. Otherwise Hypr is unchanged. need to update the tuigreet default WM based on the currently selected one. Currently prioritizes Hyprland > Niri because I didn't want to write assert code...
16 lines
242 B
Nix
16 lines
242 B
Nix
{ inputs, config, lib, ... }:
|
|
|
|
{
|
|
|
|
options.niri = {
|
|
enable = lib.mkEnableOption "enables niri";
|
|
};
|
|
|
|
imports = [
|
|
inputs.niri.nixosModules.niri
|
|
];
|
|
|
|
config = lib.mkIf config.niri.enable {
|
|
programs.niri.enable = true;
|
|
};
|
|
}
|