- flake.nix with nixpkgs, home-manager, nix-colors, m3ta-nixpkgs, agenix, NUR inputs - lib/mkHome.nix: compose HM config from user + identity + context + sets - profiles/base: shell, cli-tools, secrets (always loaded) - profiles/contexts/desktop: WM, apps, theme, ghostty - profiles/contexts/server: minimal headless - profiles/sets/coding: core (git, direnv, jq, rg), editor, lsp, languages, agents - profiles/sets/gaming: steam, gamescope, gpu - profiles/sets/media: obs, ffmpeg, kdenlive, handbrake, yt-dlp - users/m3tam3re/identities: private.nix, work.nix (git, jj, ssh per identity) - users/m3tam3re/preferences: cliphist, difftastic, base packages
20 lines
471 B
Nix
20 lines
471 B
Nix
# Wallpaper collection — copies wallpapers to Hyprland config directory.
|
|
{
|
|
config,
|
|
lib,
|
|
...
|
|
}:
|
|
with lib; let
|
|
cfg = config.desktop.theme.wallpapers.enable;
|
|
in {
|
|
options.desktop.theme.wallpapers.enable = mkEnableOption "wallpapers for Hyprland";
|
|
|
|
config = mkIf cfg {
|
|
xdg.configFile."hypr/wallpapers" = {
|
|
# Wallpapers are stored relative to the home/m3tam3re directory.
|
|
source = ../../m3tam3re/wallpapers;
|
|
recursive = true;
|
|
};
|
|
};
|
|
}
|