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