flake: substituteAll -> replaceVars

This commit is contained in:
Infinidoge 2025-06-12 17:14:59 -04:00
parent a5616f81ec
commit 9fb131c64b
Signed by: Infinidoge
SSH key fingerprint: SHA256:GT2StvPQMMfFHyiiFJymQxfTG/z6EWLJ6NWItf5K5sA
2 changed files with 2 additions and 6 deletions

View file

@ -2,9 +2,7 @@
let let
cfg = config.services.openssh; cfg = config.services.openssh;
neofetchConfig = pkgs.substituteAll { neofetchConfig = pkgs.replaceVars ./neofetch.conf {
src = ./neofetch.conf;
inherit (config.info) model; inherit (config.info) model;
}; };
in in

View file

@ -9,9 +9,7 @@ with lib;
{ {
xdg.configFile = xdg.configFile =
{ {
"neofetch/config.conf".source = pkgs.substituteAll { "neofetch/config.conf".source = pkgs.replaceVars ./neofetch.conf {
src = ./neofetch.conf;
image = pkgs.fetchurl { image = pkgs.fetchurl {
url = "https://raw.githubusercontent.com/ad-oliviero/uwufetch/main/res/nixos.png"; url = "https://raw.githubusercontent.com/ad-oliviero/uwufetch/main/res/nixos.png";
sha256 = "007q947q2a5c8z9r6cc6mj3idq0ss9zsi9xvij8l8chkjnh8fwn2"; sha256 = "007q947q2a5c8z9r6cc6mj3idq0ss9zsi9xvij8l8chkjnh8fwn2";