diff --git a/homeConfigs/hosts/ft.nix b/homeConfigs/hosts/ft.nix index 3afdd3b..eecf11d 100644 --- a/homeConfigs/hosts/ft.nix +++ b/homeConfigs/hosts/ft.nix @@ -12,6 +12,8 @@ mods.x11.enable = true; programs.firefox.enable = false; + config.mods.polybar.fspath = "/home/tomoron"; + mods.sync.homeFolder = "/home/tomoron/sync"; mods.sync.defaultSynced = false; mods.sync.syncedAdditions = [ "42_desktop" "Downloads" ]; diff --git a/homeConfigs/hosts/vbox.nix b/homeConfigs/hosts/vbox.nix index d4ba490..c4c0eea 100644 --- a/homeConfigs/hosts/vbox.nix +++ b/homeConfigs/hosts/vbox.nix @@ -1,14 +1,19 @@ { ... }: { -# services.picom = { -# backend = "xrender"; -# settings = { -# blur = { -# method = "none"; -# size = 0; -# deviation = 0.0; -# }; -# }; -# }; + mods.game.enable = false; + mods.hyprland.enable = false; + mods.x11.enable = true; + programs.firefox.enable = false; + + services.picom = { + backend = "xrender"; + settings = { + blur = { + method = "none"; + size = 0; + deviation = 0.0; + }; + }; + }; } diff --git a/homeConfigs/modules/x11/polybar.nix b/homeConfigs/modules/x11/polybar.nix index 38c2799..2adef4f 100644 --- a/homeConfigs/modules/x11/polybar.nix +++ b/homeConfigs/modules/x11/polybar.nix @@ -6,13 +6,19 @@ # By: tomoron +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2025/02/10 02:51:32 by tomoron #+# #+# # -# Updated: 2025/08/05 14:50:41 by tomoron ### ########.fr # +# Updated: 2025/08/07 15:25:50 by tomoron ### ########.fr # # # # **************************************************************************** # { lib, config, ... }: { + option.mods.polybar.fspath = lib.mkOption { + type = lib.types.str; + default = "/"; + description = "set the filesystem path for the remaining disk space"; + }; + config = lib.mkIf config.mods.x11.enable { services.polybar.enable = true; services.polybar.script = "pgrep polybar >/dev/null || polybar -q main -c \"$HOME/.config/polybar/config.ini\"&"; @@ -44,7 +50,7 @@ "module/filesystem" = { type = "internal/fs"; - mount-0 = "/home/tomoron"; + mount-0 = config.mods.polybar.fspath; interval = 10; fixed-values = true; format-mounted = "";