2023-04-28 17:01:53 +01:00
|
|
|
{ pkgs, ... }:
|
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 {
|
2023-04-26 15:25:40 +01:00
|
|
|
src = builtins.fetchTarball "https://github.com/hyprwm/Hyprland/archive/2df0d034bc4a18fafb3524401eeeceaa6b23e753.tar.gz";
|
2023-04-11 11:24:05 +01:00
|
|
|
}).defaultNix;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
hyprland.homeManagerModules.default
|
2023-04-26 15:25:40 +01:00
|
|
|
./common.nix
|
2023-04-28 17:01:53 +01:00
|
|
|
./swaylock.nix
|
|
|
|
./eww.nix
|
|
|
|
./waybar.nix
|
|
|
|
../common/gtk.nix
|
|
|
|
../common/dunst.nix
|
|
|
|
../common/rofi.nix
|
|
|
|
../xorg/xresources.nix
|
2023-04-11 11:24:05 +01:00
|
|
|
];
|
2023-04-28 17:01:53 +01:00
|
|
|
home.packages = with pkgs; [
|
|
|
|
swayimg
|
|
|
|
hyprpaper
|
|
|
|
];
|
|
|
|
programs.rofi.package = pkgs.rofi-wayland;
|
2023-04-26 15:25:40 +01:00
|
|
|
xdg.configFile."hypr" = {
|
|
|
|
source = ./config/hypr;
|
|
|
|
# recursive = true;
|
|
|
|
# text = "# test";
|
|
|
|
};
|
2023-04-28 17:01:53 +01:00
|
|
|
xsession.enable = true;
|
2023-04-29 12:38:42 +01:00
|
|
|
programs.keychain.enableXsessionIntegration = true;
|
2023-04-11 11:24:05 +01:00
|
|
|
wayland.windowManager.hyprland = {
|
|
|
|
enable = true;
|
|
|
|
xwayland = {
|
|
|
|
enable = true;
|
|
|
|
hidpi = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|