48 lines
914 B
Nix
48 lines
914 B
Nix
{ pkgs, lib, ... }:
|
|
{
|
|
programs.home-manager.enable = true;
|
|
|
|
home.username = "alex";
|
|
home.homeDirectory = "/home/alex";
|
|
|
|
home.packages = with pkgs; [
|
|
emacs
|
|
gnumake
|
|
tig
|
|
bemenu
|
|
];
|
|
|
|
programs.waybar = {
|
|
enable = true;
|
|
|
|
settings = {
|
|
mainBar = {
|
|
layer = "top";
|
|
position = "top";
|
|
height = 30;
|
|
output = [
|
|
"eDP-1"
|
|
"HDMI-A-1"
|
|
];
|
|
modules-left = [ "hyprland/workspaces" ];
|
|
modules-center = [ "custom/hello-from-waybar" ];
|
|
modules-right = [ ];
|
|
|
|
"custom/hello-from-waybar" = {
|
|
format = "hello {}";
|
|
max-length = 40;
|
|
interval = "once";
|
|
exec = pkgs.writeShellScript "hello-from-waybar" ''
|
|
echo "from within waybar"
|
|
'';
|
|
};
|
|
};
|
|
};
|
|
|
|
style = '''';
|
|
|
|
services.dunst.enable = true;
|
|
|
|
home.stateVersion = "23.05";
|
|
}
|