Niri, Hypr, Flake Bump, tuigreet, init 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. 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...
This commit is contained in:
parent
21c134cdba
commit
f5962d1d27
8 changed files with 330 additions and 117 deletions
23
nixosModules/services/hyprland/service.nix
Normal file
23
nixosModules/services/hyprland/service.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{ inputs, config, lib, ... }:
|
||||
|
||||
{
|
||||
|
||||
options.hyprland = {
|
||||
enable = lib.mkEnableOption "Enables hyprland";
|
||||
};
|
||||
|
||||
imports = [
|
||||
inputs.hyprland.nixosModules.default
|
||||
];
|
||||
|
||||
config = {
|
||||
nix.settings = {
|
||||
substituters = [ "https://hyprland.cachix.org" ];
|
||||
trusted-public-keys = [
|
||||
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
||||
];
|
||||
experimental-features = [ "nix-command" "flakes" ];
|
||||
};
|
||||
programs.hyprland.enable = lib.mkIf config.hyprland.enable true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue