Files
nixos/desktop-environment/window-manager/hyprland.nix

58 lines
1.2 KiB
Nix

{ pkgs, lib, ... }:
let
dotfiles_hypr = pkgs.fetchgit {
url = "https://git.nichkara.eu/dotfiles/hypr";
rev = "afddd6b09803a66f5a77f0a8021757d2b7d87c75";
sha256 = "sha256-bIwb0gxgYcFKFGt/UhSG1oLJSnSk/EwMjO3FNRmq4ok=";
};
dotfiles_waybar = pkgs.fetchgit {
url = "https://git.nichkara.eu/dotfiles/waybar";
rev = "84e705a0fbe7574fbdbcc7ed6e4a6f0af8c1eb3a";
sha256 = "sha256-upqTmXCS6epuE19PE+PlG5Xa0ke3+sTI75Kymb//WSE=";
};
profile = import ../../profile.nix;
in
{
environment.systemPackages = with pkgs; [
wofi
grim
swaynotificationcenter
swaylock
hyprpaper
lxsession
hyprshot
wayvnc
];
fonts.packages = with pkgs; [
nerd-fonts.space-mono
];
programs.hyprland = {
enable = true;
withUWSM = true;
xwayland.enable = true;
};
programs.waybar = {
enable = true;
};
home-manager.users.${profile.username} = { ... }: {
home.file.".config/hypr" = {
source = dotfiles_hypr;
recursive = true;
};
home.file.".config/waybar" = {
source = dotfiles_waybar;
recursive = true;
};
};
}