Files
home-manager/desktop-environment/window-manager/hyprland.nix
Nina Chlóe Kassandra Reiß 6770a680ad Add nextcloud init to home-manager
2026-04-21 14:30:03 +02:00

73 lines
1.4 KiB
Nix

{ pkgs, lib, ... }:
let
dotfiles_hypr = pkgs.fetchgit {
url = "https://git.nichkara.eu/dotfiles/hypr";
rev = "83da92f0d64620c6503b8b2d9fa27bd79816e025";
sha256 = "sha256-kEKJiH0oK0PuciJZ6ucinTKX5eMWxPPZXYNS1+HIcRA=";
};
dotfiles_waybar = pkgs.fetchgit {
url = "https://git.nichkara.eu/dotfiles/waybar";
rev = "cd3d5d8a97f9fbc1cc8a69fc9e570dfcf669dce7";
sha256 = "sha256-FTpGumhxY6ChUXqnykO+aSJiFD4A80W0eqx7hXS9Iwc=";
};
dotfiles_wofi = pkgs.fetchgit {
url = "https://git.nichkara.eu/dotfiles/wofi.git";
rev = "47bbe8a40de55871ad6106b2fa5df18d6ec77e39";
sha256 = "sha256-lrQfc9nQinbd1hbf1WmLm8NMRqQKb1ti3v+074+Oo5Y=";
};
profile = import ../../profile.nix;
in
{
home.packages = with pkgs; [
wofi
grim
swaynotificationcenter
swaylock
hyprpaper
lxsession
hyprshot
wayvnc
pamixer
pavucontrol
brightnessctl
python313Packages.requests
networkmanagerapplet
];
wayland = {
windowManager = {
hyprland = {
enable = true;
xwayland.enable = true;
extraConfig = ''
exec-once = sleep 2 && nextcloud
'';
};
};
};
programs.waybar = {
enable = true;
};
xdg.configFile."hypr" = {
source = dotfiles_hypr;
recursive = true;
};
xdg.configFile."waybar" = {
source = dotfiles_waybar;
recursive = true;
};
xdg.configFile."wofi" = {
source = dotfiles_wofi;
recursive = true;
};
}