diff --git a/src/user/configs/default.nix b/src/user/configs/default.nix index 5c5a480..4503021 100644 --- a/src/user/configs/default.nix +++ b/src/user/configs/default.nix @@ -9,9 +9,6 @@ userConfigs = rec { email = "bryan@ramos.codes"; shell = pkgs.bash; - # From wallpapers directory - wallpaper = "targon.jpg"; - groups = [ "wheel" "networkmanager" "home-manager" "input" ]; gitConfig = optionalAttrs modules.git.enable { diff --git a/src/user/configs/wallpapers/mountains.jpg b/src/user/configs/wallpapers/mountains.jpg deleted file mode 100644 index 2b11097..0000000 Binary files a/src/user/configs/wallpapers/mountains.jpg and /dev/null differ diff --git a/src/user/configs/wallpapers/targon.jpg b/src/user/configs/wallpapers/targon.jpg deleted file mode 100644 index 8055784..0000000 Binary files a/src/user/configs/wallpapers/targon.jpg and /dev/null differ diff --git a/src/user/modules/gui/wm/hyprland/default.nix b/src/user/modules/gui/wm/hyprland/default.nix index 9d6cb2b..3c06190 100644 --- a/src/user/modules/gui/wm/hyprland/default.nix +++ b/src/user/modules/gui/wm/hyprland/default.nix @@ -3,10 +3,10 @@ with lib; let cfg = config.modules.user.gui.wm.hyprland; - - wallpapers = builtins.path { - path = ./config/wallpapers; - name = "wallpapers"; + + wallpaper = builtins.fetchurl { + url = "https://images6.alphacoders.com/117/1174033.png"; + sha256 = "1ph5m9s57076jx6042iipqx2ifzadmd5z4lf5l49wgq4jb92mp16"; }; in @@ -169,10 +169,10 @@ in splash_offset = 2.0; preload = - [ "${wallpapers}/${config.user.wallpaper}" ]; + [ "${wallpaper}" ]; wallpaper = [ - ",${wallpapers}/${config.user.wallpaper}" + ",${wallpaper}" ]; }; }; diff --git a/src/user/modules/gui/wm/sway/config/sway.nix b/src/user/modules/gui/wm/sway/config/sway.nix index a4ec096..2c484da 100644 --- a/src/user/modules/gui/wm/sway/config/sway.nix +++ b/src/user/modules/gui/wm/sway/config/sway.nix @@ -2,9 +2,10 @@ let modifier = config.wayland.windowManager.sway.config.modifier; - wallpapers = builtins.path { - path = ./wallpapers; - name = "wallpapers"; + + wallpaper = builtins.fetchurl { + url = "https://images6.alphacoders.com/117/1174033.png"; + sha256 = "1ph5m9s57076jx6042iipqx2ifzadmd5z4lf5l49wgq4jb92mp16"; }; in @@ -25,12 +26,12 @@ in HDMI-A-1 = { resolution = "1920x1080"; position = "0,0"; - bg = "${wallpapers}/${config.user.wallpaper} fill"; + bg = "${wallpaper} fill"; }; DP-1 = { resolution = "1920x1080"; position = "1920,0"; - bg = "${wallpapers}/${config.user.wallpaper} fill"; + bg = "${wallpaper} fill"; }; }; modifier = "Mod1";