nixos/home/desktop/hyprland.nix

25 lines
544 B
Nix
Raw Normal View History

{ ... }:
2023-04-11 11:24:05 +01:00
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
./gtk.nix
./common-wayland.nix
2023-04-11 11:24:05 +01:00
];
xdg.configFile."hypr".source = ./config/hypr;
2023-04-11 11:24:05 +01:00
wayland.windowManager.hyprland = {
enable = true;
xwayland = {
enable = true;
hidpi = true;
};
};
}