flake: substituteAll -> replaceVars
This commit is contained in:
parent
a5616f81ec
commit
9fb131c64b
2 changed files with 2 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue