From 7bc32c7ea05d093f66099d9f651095aacc9157db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laure=CE=B7t?= Date: Sat, 30 Dec 2023 20:14:31 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20(home/wayland)=20flakify=20the=20wa?= =?UTF-8?q?llpaper?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- flake.nix | 7 +++++++ home/wayland/hyprland/default.nix | 8 ++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) 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