Adjust hyprland configuration

This commit is contained in:
2026-02-27 17:17:50 +01:00
parent 620ea7a061
commit 437d486fec
2 changed files with 24 additions and 6 deletions

View File

@@ -2,8 +2,14 @@
let
dotfiles_hypr = pkgs.fetchgit {
url = "https://git.nichkara.eu/dotfiles/hypr";
rev = "96f9ca03450049baffbc8a2b71c3a40367edd2a5";
sha256 = "sha256-dHxf2UNEDC/KyDgjMMQ988hyGM2gasYNbNtLTityhDY=";
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;
@@ -12,7 +18,6 @@ in
environment.systemPackages = with pkgs; [
wofi
waybar
grim
swaynotificationcenter
swaylock
@@ -22,17 +27,31 @@ in
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;
source = dotfiles_hypr;
recursive = true;
};
home.file.".config/waybar" = {
source = dotfiles_waybar;
recursive = true;
};
};
}