From 9fb131c64b9254d8a4f4b54f60d9002412495a61 Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Thu, 12 Jun 2025 17:14:59 -0400 Subject: [PATCH] flake: substituteAll -> replaceVars --- hosts/Infini-DL360/ssh.nix | 4 +--- users/infinidoge/config/default.nix | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/hosts/Infini-DL360/ssh.nix b/hosts/Infini-DL360/ssh.nix index 3b340fd..ab9e55d 100644 --- a/hosts/Infini-DL360/ssh.nix +++ b/hosts/Infini-DL360/ssh.nix @@ -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 diff --git a/users/infinidoge/config/default.nix b/users/infinidoge/config/default.nix index 2e259e2..edf34fa 100644 --- a/users/infinidoge/config/default.nix +++ b/users/infinidoge/config/default.nix @@ -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";