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
cfg = config.services.openssh;
neofetchConfig = pkgs.substituteAll {
src = ./neofetch.conf;
neofetchConfig = pkgs.replaceVars ./neofetch.conf {
inherit (config.info) model;
};
in

View file

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