alpha
Login
or
Join now
lass.pds.lassul.us
/
superconfig
Star
0
Fork
1
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
1
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
1
Pipelines
c-base: migrate from fact to var
author
lassulus
date
10 months ago
(Dec 6, 2025, 2:13 PM +0200)
commit
5c11f00f
5c11f00f196f157716b86ed88dec21a24f2cf959
parent
fcfdce05
fcfdce05222d519f171ba7a3798194b19f7f90e9
+7
-7
1 changed file
Expand all
Collapse all
Unified
Split
2configs
c-base.nix
+7
-7
2configs/c-base.nix
View file
Reviewed
···
6
6
pkgs.cifs-utils
7
7
];
8
8
9
9
-
clanCore.facts.services.c-base = {
10
10
-
secret."c-base.txt" = { };
11
11
-
generator.prompt = ''
12
12
-
Please enter your username in the first line and your c-base password in the next line
13
13
-
'';
14
14
-
generator.script = ''
15
15
-
echo "$prompt_value" > "$secrets"/c-base.txt
9
9
+
clan.core.vars.generators.c-base = {
10
10
+
files."c-base.txt" = { };
11
11
+
prompts.user.description = "c-base nickname";
12
12
+
prompts.pass.description = "c-base password";
13
13
+
script = ''
14
14
+
cat "$prompts"/user > "$out/c-base.txt"
15
15
+
cat "$prompts"/pass >> "$out/c-base.txt"
16
16
'';
17
17
};
18
18