mirror of
https://github.com/srid/nixos-config.git
synced 2026-02-22 21:05:22 +08:00
refactor: reindent
This commit is contained in:
parent
23d4d205ad
commit
aa590e0ada
1 changed files with 12 additions and 6 deletions
18
flake.nix
18
flake.nix
|
|
@ -52,14 +52,20 @@
|
|||
[ "op" "read" "op://Personal/nixos-config/${field}" ];
|
||||
in
|
||||
{
|
||||
github-runner = {
|
||||
targetHost = "github-runner";
|
||||
targetUser = "srid";
|
||||
keys."github-runner-token.secret" = {
|
||||
github-runner =
|
||||
let
|
||||
user = "github-runner";
|
||||
keyCommand = read1Password "github-runner-token";
|
||||
in
|
||||
{
|
||||
targetHost = "github-runner";
|
||||
targetUser = "srid";
|
||||
keys = {
|
||||
"github-runner-token.secret" = {
|
||||
inherit user;
|
||||
keyCommand = read1Password "github-runner-token";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
flake = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue