diff --git a/flake.nix b/flake.nix index 65c0a1e..5c80311 100644 --- a/flake.nix +++ b/flake.nix @@ -29,6 +29,13 @@ nixos-anywhere.url = "github:nix-community/nixos-anywhere"; treefmt-nix.url = "github:numtide/treefmt-nix"; + # home assets + wallpaper = { + url = "https://images.unsplash.com/photo-1482686115713-0fbcaced6e28"; + flake = false; + }; + + # hydrogen nginx sites resume.url = "git+https://git.fainsin.bzh/Laurent/resume"; projet-intelligence-artificielle-multimedia.url = "git+https://git.fainsin.bzh/ENSEEIHT/projet-intelligence-artificielle-multimedia"; projet-modelisation-geometrique.url = "git+https://git.fainsin.bzh/ENSEEIHT/projet-modelisation-geometrique"; diff --git a/home/wayland/hyprland/default.nix b/home/wayland/hyprland/default.nix index f6b9908..ef7740d 100644 --- a/home/wayland/hyprland/default.nix +++ b/home/wayland/hyprland/default.nix @@ -1,11 +1,15 @@ -{pkgs, ...}: { +{ + inputs, + pkgs, + ... +}: { wayland.windowManager.hyprland = { enable = true; extraConfig = '' exec-once=env XDG_CACHE_HOME=/tmp eww open bar - exec-once=${pkgs.swaybg}/bin/swaybg -i ~/Pictures/wallpapers/kai-oberhauser-unsplash.jpg + exec-once=${pkgs.swaybg}/bin/swaybg -i ${inputs.wallpaper} exec-once=mako exec-once=thunderbird exec-once=wl-paste --watch cliphist store