mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-07 05:27:13 -06:00
test: trying out a different justfile
This commit is contained in:
parent
c8dea6ed84
commit
e3b7ab1100
1 changed files with 3 additions and 4 deletions
|
|
@ -10,15 +10,15 @@ let
|
||||||
hostname = config.networking.hostName;
|
hostname = config.networking.hostName;
|
||||||
dotPath = "~/projects/dotfiles";
|
dotPath = "~/projects/dotfiles";
|
||||||
mkLocalRebuild = type: ''
|
mkLocalRebuild = type: ''
|
||||||
rebuild-${type}:
|
${type}-rebuild:
|
||||||
nixos-rebuild ${type} --sudo --flake ${dotPath}#${hostname} --show-trace
|
nixos-rebuild ${type} --sudo --flake ${dotPath}#${hostname} --show-trace
|
||||||
'';
|
'';
|
||||||
mkRemoteRebuild = name: ip: ''
|
mkRemoteRebuild = name: ip: ''
|
||||||
rebuild-${name}:
|
${name}-rebuild:
|
||||||
nixos-rebuild switch --flake ${dotPath}#${name} --target-host ${ip} --sudo --ask-sudo-password --show-trace
|
nixos-rebuild switch --flake ${dotPath}#${name} --target-host ${ip} --sudo --ask-sudo-password --show-trace
|
||||||
'';
|
'';
|
||||||
mkSshCommands = name: ip: ''
|
mkSshCommands = name: ip: ''
|
||||||
${name}:
|
${name}-ssh:
|
||||||
ssh ${ip}
|
ssh ${ip}
|
||||||
'';
|
'';
|
||||||
mkMicrVMSshCommands = name: ssh: ''
|
mkMicrVMSshCommands = name: ssh: ''
|
||||||
|
|
@ -33,7 +33,6 @@ let
|
||||||
(command devices.mars.name devices.mars.ip.address0)
|
(command devices.mars.name devices.mars.ip.address0)
|
||||||
(command devices.deimos.name devices.deimos.ip.address0)
|
(command devices.deimos.name devices.deimos.ip.address0)
|
||||||
(command devices.phobos.name devices.phobos.ip.address0)
|
(command devices.phobos.name devices.phobos.ip.address0)
|
||||||
(command devices.lamdagibson.name devices.lamdagibson.ip.address0)
|
|
||||||
];
|
];
|
||||||
instanceRecords =
|
instanceRecords =
|
||||||
command:
|
command:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue