2023-04-12 23:29:58 +01:00
|
|
|
{ ... }:
|
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
|
2023-04-12 14:02:03 +01:00
|
|
|
./gtk.nix
|
2023-04-12 18:27:32 +01:00
|
|
|
./common-wayland.nix
|
2023-04-11 11:24:05 +01:00
|
|
|
];
|
|
|
|
|
2023-04-13 13:43:44 +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;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|