more home-manager

This commit is contained in:
tristan 2023-04-12 13:30:06 +01:00
parent 622c443a60
commit 014f391d4b
2 changed files with 43 additions and 1 deletions

View file

@ -22,6 +22,47 @@
gimp
];
programs.git = {
enable = true;
userName = "tristan";
userEmail = "tristan@tristans.cloud";
aliases = {
graph = "log --oneline --all --graph";
};
};
programs.swaylock.settings = {
clock = true;
screenshots = true;
effect-scale = 0.5;
effect-blur = "10x10";
};
services.swayidle.enable = true;
services.swayidle.events = [
{ event = "before-sleep"; command = "${pkgs.swaylock}/bin/swaylock"; }
{ event = "lock"; command = "lock"; }
];
programs.waybar.enable = true;
programs.waybar.settings = {
mainBar = {
layer = "top";
position = "top";
height = 30;
modules-right = [ "mpd" "pulseaudio" "clock" "tray" ];
clock = {
format = "📅 {:%a %b-%d %I:%M %p}";
};
pulseaudio = {
format-muted = "🔇 {volume}%";
format = "{icon} {volume}";
format-icons.default = ["🔈" "🔉" "🔊"];
on-click = "pavucontrol";
};
};
};
gtk = {
enable = true;
theme = {