Compare commits

...

2 commits

2 changed files with 18 additions and 7 deletions

View file

@ -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";

View file

@ -1,15 +1,19 @@
{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=mako
exec-once=thunderbird
exec-once=wl-paste --watch cliphist store
exec-once=gnome-keyring-daemon --start --components=secrets
exec-once=env XDG_CACHE_HOME=/tmp ${pkgs.eww-wayland}/bin/eww open bar
exec-once=${pkgs.swaybg}/bin/swaybg -i ${inputs.wallpaper}
exec-once=${pkgs.mako}/bin/mako
exec-once=${pkgs.thunderbird}/bin/thunderbird
exec-once=${pkgs.wl-clipboard}/bin/wl-paste --watch ${pkgs.cliphist}/bin/cliphist store
exec-once=${pkgs.gnome.gnome-keyring}/bin/gnome-keyring-daemon --start --components=secrets
''
+ builtins.readFile ./hyprland.conf;
};