This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

c-base: migrate from fact to var

+7 -7
+7 -7
2configs/c-base.nix
··· 6 6 pkgs.cifs-utils 7 7 ]; 8 8 9 - clanCore.facts.services.c-base = { 10 - secret."c-base.txt" = { }; 11 - generator.prompt = '' 12 - Please enter your username in the first line and your c-base password in the next line 13 - ''; 14 - generator.script = '' 15 - echo "$prompt_value" > "$secrets"/c-base.txt 9 + clan.core.vars.generators.c-base = { 10 + files."c-base.txt" = { }; 11 + prompts.user.description = "c-base nickname"; 12 + prompts.pass.description = "c-base password"; 13 + script = '' 14 + cat "$prompts"/user > "$out/c-base.txt" 15 + cat "$prompts"/pass >> "$out/c-base.txt" 16 16 ''; 17 17 }; 18 18