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
|
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
|
||||||
|
|
|
@ -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";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue