mirror of
https://github.com/hyprwm/hyprland-infra.git
synced 2025-05-13 05:40:39 +01:00
13 lines
329 B
Nix
13 lines
329 B
Nix
let
|
|
getKeys = target: map (v: "${toString v}") (builtins.split "\n" (builtins.readFile target));
|
|
|
|
raf = getKeys ../users/keys/raf;
|
|
fufexan = getKeys ../users/keys/mihai;
|
|
admin = [raf fufexan];
|
|
|
|
caesar = "";
|
|
systems = [caesar];
|
|
in {
|
|
"secret1.age".publicKeys = admin;
|
|
"secret2.age".publicKeys = admin ++ systems;
|
|
}
|