generated from john/nix-docker
variables again
This commit is contained in:
4
home.nix
4
home.nix
@@ -7,6 +7,8 @@
|
||||
}:
|
||||
let
|
||||
homePath = "/srv/panoptes";
|
||||
repoURL = "https://gitea.john-stream.com/john/loki-nix";
|
||||
repoBranch = "reorg";
|
||||
in
|
||||
{
|
||||
programs.git = {
|
||||
@@ -27,7 +29,7 @@ in
|
||||
sudo nixos-rebuild switch --flake git+file://${homePath}#${hostname}
|
||||
'')
|
||||
(pkgs.writeShellScriptBin "init-panoptes" ''
|
||||
sudo -u git clone -b reorg https://gitea.john-stream.com/john/loki-nix /srv/panoptes
|
||||
sudo -u git clone -b ${repoBranch} ${repoURL} /srv/panoptes
|
||||
'')
|
||||
git
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user