Introduce a variable for sway includes and disable relatime on the zfs legacy mounts.

This commit is contained in:
Tom Alexander
2025-01-12 15:32:24 -05:00
parent a817464b38
commit 5146a114eb
4 changed files with 177 additions and 130 deletions

View File

@@ -5,6 +5,28 @@
...
}:
let
waybar_sway_config = pkgs.writeTextFile {
name = "waybar.conf";
text = ''
#
# Status Bar:
#
# Read `man 5 sway-bar` for more information about this section.
bar {
position top
font pango:Cascadia Mono, FontAwesome 10
swaybar_command waybar
colors {
statusline #ffffff
background #323232
inactive_workspace #32323200 #32323200 #5c5c5c
}
}
'';
};
waybar_available_memory =
(pkgs.writeScriptBin "waybar_custom_available_memory" (
builtins.readFile ./files/waybar_scripts/waybar_available_memory_linux.bash
@@ -72,6 +94,10 @@ in
wlsunset # for night mode
];
me.swayIncludes = [
waybar_sway_config
];
services.upower.enable = true; # for battery
home-manager.users.talexander =