Niri, Hypr, Flake Bump, initial setup for niri
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.
This commit is contained in:
parent
21c134cdba
commit
1c4371cd88
7 changed files with 323 additions and 114 deletions
16
nixosModules/services/niri/service.nix
Normal file
16
nixosModules/services/niri/service.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{ 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;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue