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
machines.green: migrate facts to vars
author
lassulus
date
1 year ago
(Aug 9, 2025, 2:48 PM CEST)
commit
a722d0f8
a722d0f817254cf3de31cc8e53d83beb92917ef4
parent
097be824
097be8240a18ea03c6e4f676fb4cf25bd311b38e
+8
-8
1 changed file
Expand all
Collapse all
Unified
Split
machines
green
config.nix
+8
-8
machines/green/config.nix
View file
Reviewed
···
32
32
33
33
krebs.sync-containers3.inContainer = {
34
34
enable = true;
35
35
-
pubkey = config.clanCore.facts.services.green-container.public."green.sync.pub".value;
35
35
+
pubkey = config.clan.core.vars.generators.green-container.files."green.sync.pub".path;
36
36
};
37
37
38
38
-
clanCore.facts.services.green-container = {
39
39
-
secret."green.sync.key" = { };
40
40
-
public."green.sync.pub" = { };
41
41
-
generator.path = with pkgs; [
38
38
+
clanCore.vars.generators.green-container = {
39
39
+
files."green.sync.key" = { };
40
40
+
files."green.sync.pub".secret = false;
41
41
+
runtimeInputs = with pkgs; [
42
42
coreutils
43
43
openssh
44
44
];
45
45
-
generator.script = ''
46
46
-
ssh-keygen -t ed25519 -N "" -f "$secrets"/green.sync.key
47
47
-
mv "$secrets"/green.sync.key "$facts"/green.sync.pub
45
45
+
script = ''
46
46
+
ssh-keygen -t ed25519 -N "" -f "$out"/green.sync.key
47
47
+
mv "$out"/green.sync.key.pub "$out"/green.sync.pub
48
48
'';
49
49
};
50
50