mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-22 18:30:43 -06:00
don't use a let ... in
construct
This commit is contained in:
parent
5927943647
commit
365f87eb04
1 changed files with 4 additions and 7 deletions
|
@ -2,12 +2,7 @@
|
||||||
inputs,
|
inputs,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: let
|
}:{
|
||||||
gitea-shim = pkgs.writeShellScriptBin "gitea" ''
|
|
||||||
ssh -p 2222 -o StrictHostKeyChecking=no git@127.0.0.1 "SSH_ORIGINAL_COMMAND=\"$SSH_ORIGINAL_COMMAND\" $0 $@"
|
|
||||||
'';
|
|
||||||
|
|
||||||
in {
|
|
||||||
imports = with inputs.self.nixosModules; [
|
imports = with inputs.self.nixosModules; [
|
||||||
docker
|
docker
|
||||||
];
|
];
|
||||||
|
@ -21,7 +16,9 @@ in {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
rclone
|
rclone
|
||||||
|
|
||||||
gitea-shim
|
(pkgs.writeShellScriptBin "gitea" ''
|
||||||
|
ssh -p 2222 -o StrictHostKeyChecking=no git@127.0.0.1 "SSH_ORIGINAL_COMMAND=\"$SSH_ORIGINAL_COMMAND\" $0 $@"
|
||||||
|
'')
|
||||||
];
|
];
|
||||||
|
|
||||||
# https://francis.begyn.be/blog/nixos-restic-backups
|
# https://francis.begyn.be/blog/nixos-restic-backups
|
||||||
|
|
Loading…
Reference in a new issue