25 lines
544 B
Nix
25 lines
544 B
Nix
{ ... }:
|
|
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
|
|
];
|
|
|
|
xdg.configFile."hypr".source = ./config/hypr;
|
|
wayland.windowManager.hyprland = {
|
|
enable = true;
|
|
xwayland = {
|
|
enable = true;
|
|
hidpi = true;
|
|
};
|
|
};
|
|
}
|