Update to (somewhat?) dendritic pattern
Heavily inspired by https://github.com/Doc-Steve/dendritic-design-with-flake-parts. > Atomic commits? Never heard of them!
This commit is contained in:
20
modules/programs/hyprland/hyprland.nix
Normal file
20
modules/programs/hyprland/hyprland.nix
Normal file
@@ -0,0 +1,20 @@
|
||||
{ inputs, ... }: {
|
||||
flake.modules.nixos.hyprland = {
|
||||
programs.hyprland.enable = true;
|
||||
# Force electron apps to use wayland
|
||||
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
||||
|
||||
home-manager.sharedModules = [
|
||||
inputs.self.modules.homeManager.hyprland
|
||||
];
|
||||
};
|
||||
|
||||
flake.modules.homeManager.hyprland = { pkgs, ... }: {
|
||||
wayland.windowManager.hyprland.enable = true;
|
||||
services.hyprpolkitagent.enable = true;
|
||||
|
||||
home.packages = with pkgs; [
|
||||
hyprpicker
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user