diff options
| author | spl3g <spleefer6@yandex.ru> | 2023-10-26 14:44:22 +0300 |
|---|---|---|
| committer | spl3g <spleefer6@yandex.ru> | 2023-10-26 14:44:22 +0300 |
| commit | ddd3490dfb592417163e801994a60854dac135fe (patch) | |
| tree | ff25c2df4bd89fc837ed585dfac38594b5f23b72 /home-manager/wm/hyprland/default.nix | |
| parent | 429bf12cd70405d6ea18d14fe9d384a6458ae99d (diff) | |
configs for my laptop
Diffstat (limited to 'home-manager/wm/hyprland/default.nix')
| -rw-r--r-- | home-manager/wm/hyprland/default.nix | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/home-manager/wm/hyprland/default.nix b/home-manager/wm/hyprland/default.nix new file mode 100644 index 0000000..3079faa --- /dev/null +++ b/home-manager/wm/hyprland/default.nix @@ -0,0 +1,37 @@ +{ pkgs, config, ... }: +let + configFile = builtins.readFile ./hyprland.conf; + scripts = '' + $scripts=${./scripts} + ''; + overrides = '' + exec-once=swww init && swww img ${./cat.png} + ''; + extraConfig = scripts + configFile + overrides; + +in +{ + home.packages = with pkgs; [ + swww + eww-wayland + socat + inotify-tools + brightnessctl + alsa-utils + slurp + grim + cliphist + material-design-icons + font-awesome + wtype + webcord + xdg-desktop-portal-hyprland + swaylock + ]; + wayland.windowManager.hyprland = { + enable = true; + package = pkgs.hyprland; + recommendedEnvironment = true; + inherit extraConfig; + }; +} |
