factorio: secret was not working and sync mods easier
This commit is contained in:
parent
88b0c54270
commit
e829798d86
2 changed files with 3 additions and 3 deletions
|
|
@ -60,6 +60,8 @@
|
||||||
exportMachineSSHkey = "export SOPS_AGE_KEY=$(sudo ssh-to-age -i /etc/ssh/ssh_host_ed25519_key -private-key)
|
exportMachineSSHkey = "export SOPS_AGE_KEY=$(sudo ssh-to-age -i /etc/ssh/ssh_host_ed25519_key -private-key)
|
||||||
";
|
";
|
||||||
checkPR = ''cd /home/cholli/projects/NixOS/nixpkgs && ${lib.getExe pkgs.nixpkgs-review} pr $argv --post-result --systems "x86_64-linux aarch64-linux"'';
|
checkPR = ''cd /home/cholli/projects/NixOS/nixpkgs && ${lib.getExe pkgs.nixpkgs-review} pr $argv --post-result --systems "x86_64-linux aarch64-linux"'';
|
||||||
|
|
||||||
|
syncfactoriomodstoserver = ''rsync -aP ~/.factorio/mods/ root@loptland:/var/lib/factorio/mods/ --delete && ssh root@loptland "systemctl restart systemd-tmpfiles-resetup.service && systemctl restart factorio.service"'';
|
||||||
};
|
};
|
||||||
plugins = with pkgs.fishPlugins; [
|
plugins = with pkgs.fishPlugins; [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -35,9 +35,7 @@
|
||||||
"token": "${config.sops.placeholder."factorio/token"}"
|
"token": "${config.sops.placeholder."factorio/token"}"
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
mode = "0400";
|
mode = "0444";
|
||||||
owner = "factorio";
|
|
||||||
group = "factorio";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue