mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-06-08 10:09:04 +02:00
Lot of changes, playing with ssh keys
This commit is contained in:
parent
920ac9efc4
commit
6096bc5515
13 changed files with 168 additions and 17 deletions
|
@ -29,6 +29,22 @@ in
|
|||
|
||||
sops.secrets.drone = { };
|
||||
|
||||
sops.secrets.ssh-drone-pub = {
|
||||
owner = drone;
|
||||
path = "/home/drone/.ssh/id_ed25519.pub";
|
||||
mode = "0644";
|
||||
format = "binary";
|
||||
sopsFile = ../../secrets/ssh-drone-pub;
|
||||
};
|
||||
|
||||
sops.secrets.ssh-drone-priv = {
|
||||
owner = drone;
|
||||
path = "/home/drone/.ssh/id_ed25519";
|
||||
mode = "0600";
|
||||
format = "binary";
|
||||
sopsFile = ../../secrets/ssh-drone-priv;
|
||||
};
|
||||
|
||||
|
||||
systemd.services.drone-server = {
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
|
|
|
@ -20,6 +20,7 @@ with lib;
|
|||
package = pkgs.nixUnstable;
|
||||
extraOptions = ''
|
||||
experimental-features = nix-command flakes
|
||||
narinfo-cache-negative-ttl = 0
|
||||
'';
|
||||
nixPath = [
|
||||
"nixpkgs=${inputs.nixpkgs}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue