moved home-manager config from configuration.nix into flake.nix, unified all module imports into flake.nix

This commit is contained in:
Gabriella Bere 2024-08-26 01:49:04 +01:00
parent b33b517c48
commit 19907c1d03
4 changed files with 25 additions and 10 deletions

View file

@ -5,7 +5,6 @@
home.homeDirectory = "/home/blue";
imports = [
inputs.anyrun.homeManagerModules.default
./hyprland.nix
./waybar.nix
./swaync.nix

View file

@ -15,7 +15,7 @@
];
modules-left = [ "wlr/taskbar" ];
modules-center = [ "clock" "custom/swaync" ];
modules-right = [ "pulseaudio" "backlight" "battery" "tray" ];
modules-right = [ "pulseaudio/slider" "backlight" "battery" "tray" ];
"clock" = {
"format" = "{:%A %d %b %T}";
# "tooltip" = true;
@ -48,6 +48,16 @@
.module {
margin: 0px 10px 0px 10px;
}
#pulseaudio-slider trough {
min-height: 10px;
min-width: 80px;
border-radius: 5px;
background-color: transparent;
}
#pulseaudio-slider highlight {
min-width: 80px;
border-radius: 5px;
}
'';
};
}