configs/nixos-config/home-manager/hyprland.nix

21 lines
465 B
Nix
Raw Normal View History

2023-05-01 13:23:52 +02:00
{pkgs, ...}:
let
2023-04-18 17:02:45 +02:00
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;
2023-05-01 13:23:52 +02:00
in
{
2023-04-18 17:02:45 +02:00
imports = [
hyprland.homeManagerModules.default
];
wayland.windowManager.hyprland = {
enable = true;
2023-05-01 09:47:30 +02:00
extraConfig = (builtins.readFile ./config/hypr/hyprland.conf);
2023-04-18 17:02:45 +02:00
};
}