mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-06 21:17:14 -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;
|
||||
dotPath = "~/projects/dotfiles";
|
||||
mkLocalRebuild = type: ''
|
||||
rebuild-${type}:
|
||||
${type}-rebuild:
|
||||
nixos-rebuild ${type} --sudo --flake ${dotPath}#${hostname} --show-trace
|
||||
'';
|
||||
mkRemoteRebuild = name: ip: ''
|
||||
rebuild-${name}:
|
||||
${name}-rebuild:
|
||||
nixos-rebuild switch --flake ${dotPath}#${name} --target-host ${ip} --sudo --ask-sudo-password --show-trace
|
||||
'';
|
||||
mkSshCommands = name: ip: ''
|
||||
${name}:
|
||||
${name}-ssh:
|
||||
ssh ${ip}
|
||||
'';
|
||||
mkMicrVMSshCommands = name: ssh: ''
|
||||
|
|
@ -33,7 +33,6 @@ let
|
|||
(command devices.mars.name devices.mars.ip.address0)
|
||||
(command devices.deimos.name devices.deimos.ip.address0)
|
||||
(command devices.phobos.name devices.phobos.ip.address0)
|
||||
(command devices.lamdagibson.name devices.lamdagibson.ip.address0)
|
||||
];
|
||||
instanceRecords =
|
||||
command:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue