diff --git a/home-hyprland.nix b/home-hyprland.nix new file mode 100644 index 0000000..cb8f3be --- /dev/null +++ b/home-hyprland.nix @@ -0,0 +1,17 @@ +{pkgs, ...}: let + flake-compat = builtins.fetchTarball "https://github.com/edolstra/flake-compat/archive/master.tar.gz"; + + hyprland = (import flake-compat { + src = builtins.fetchTarball "https://github.com/hyprwm/Hyprland/archive/master.tar.gz"; + }).defaultNix; +in { + imports = [ + hyprland.homeManagerModules.default + ]; + + wayland.windowManager.hyprland = { + enable = true; + + extraConfig = (builtins.readFile ./config/hypr/hyprland.conf); + }; +} diff --git a/home-manager.nix b/home-manager.nix index ef3e4f5..d578b01 100644 --- a/home-manager.nix +++ b/home-manager.nix @@ -18,6 +18,10 @@ in kitty # terminfo support ]; + imports = [ + ./home-hyprland.nix + ]; + programs = { fish = { enable = true;