2023-05-17 17:10:18 +01:00
|
|
|
{pkgs, ...}: let
|
2023-04-11 11:24:05 +01:00
|
|
|
flake-compat = builtins.fetchTarball "https://github.com/edolstra/flake-compat/archive/master.tar.gz";
|
|
|
|
|
2023-05-17 17:10:18 +01:00
|
|
|
hyprland =
|
|
|
|
(import flake-compat {
|
|
|
|
src = builtins.fetchTarball "https://github.com/hyprwm/Hyprland/archive/2df0d034bc4a18fafb3524401eeeceaa6b23e753.tar.gz";
|
|
|
|
})
|
|
|
|
.defaultNix;
|
|
|
|
in {
|
2023-04-11 11:24:05 +01:00
|
|
|
imports = [
|
|
|
|
hyprland.homeManagerModules.default
|
2023-04-28 17:01:53 +01:00
|
|
|
./swaylock.nix
|
|
|
|
./eww.nix
|
|
|
|
./waybar.nix
|
2023-05-16 09:11:39 +01:00
|
|
|
./gtk.nix
|
|
|
|
./dunst.nix
|
|
|
|
./rofi.nix
|
2023-04-11 11:24:05 +01:00
|
|
|
];
|
2023-04-28 17:01:53 +01:00
|
|
|
home.packages = with pkgs; [
|
2023-05-16 09:11:39 +01:00
|
|
|
pipewire
|
|
|
|
wireplumber
|
|
|
|
wl-clipboard
|
2023-04-28 17:01:53 +01:00
|
|
|
swayimg
|
|
|
|
hyprpaper
|
|
|
|
];
|
|
|
|
programs.rofi.package = pkgs.rofi-wayland;
|
2023-06-04 10:41:56 +01:00
|
|
|
xdg.configFile."hypr" = {
|
|
|
|
source = ./config/hypr;
|
|
|
|
recursive = true;
|
|
|
|
};
|
2023-04-11 11:24:05 +01:00
|
|
|
wayland.windowManager.hyprland = {
|
|
|
|
enable = true;
|
2023-05-17 17:10:18 +01:00
|
|
|
xwayland = {
|
|
|
|
enable = true;
|
|
|
|
hidpi = true;
|
|
|
|
};
|
2023-04-11 11:24:05 +01:00
|
|
|
};
|
|
|
|
}
|