waybar integration

This commit is contained in:
Odweta
2026-01-11 18:52:00 +01:00
parent 89cbe49dd7
commit ff968d4a87
5 changed files with 33 additions and 5 deletions
-1
View File
@@ -67,6 +67,5 @@
services.openssh.enable = true;
system.stateVersion = "25.11";
}
+1
View File
@@ -12,6 +12,7 @@
./hyprland.nix
./kitty.nix
./vim.nix
./waybar.nix
./xdg.nix
];
}
+1 -3
View File
@@ -2,9 +2,7 @@
{
# program enable
programs.hyprland = {
enable = true;
};
programs.hyprland.enable = true;
# xdg portal for hyprland
xdg.portal = {
+4 -1
View File
@@ -7,7 +7,6 @@
home.packages = with pkgs; [
hypridle
hyprlock
waybar
wofi
];
@@ -23,6 +22,10 @@
enable = true;
settings = {
exec-once = [
"waybar"
];
monitor = [
"HDMI-A-2, 1920x1080@60, 0x0, 1"
"eDP-1, 1920x1080@60, 0x1080, 1"
+27
View File
@@ -0,0 +1,27 @@
{ pkgs, ... }:
{
programs.waybar = {
enable = true;
settings = [{
layer = "top";
position = "top";
modules-left = [ "hyprland/workspaces" ];
modules-center = [ "clock" ];
modules-right = [ "pulseaudio" "battery" "tray" ];
clock = {
format = "{:%Y-%m-%d %H:%M}";
};
}];
style = ''
* {
font-family: Hurmit Nerd Font Mono;
font-size: 16px;
}
'';
};
}