mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-07 05:27:13 -06:00
feat: added midnight miner
This commit is contained in:
parent
5079270f78
commit
344798ce81
1 changed files with 5 additions and 5 deletions
|
|
@ -11,7 +11,7 @@ let
|
|||
dotPath = "~/projects/dotfiles";
|
||||
mkLocalRebuild = type: ''
|
||||
rebuild-${type}:
|
||||
nixos-rebuild boot --sudo --flake ${dotPath}#${hostname} --show-trace
|
||||
nixos-rebuild ${type} --sudo --flake ${dotPath}#${hostname} --show-trace
|
||||
'';
|
||||
mkRemoteRebuild = name: ip: ''
|
||||
rebuild-${name}:
|
||||
|
|
@ -40,16 +40,16 @@ let
|
|||
lib.concatStrings [
|
||||
(command instances.vaultwarden.name instances.vaultwarden.interface.ssh)
|
||||
(command instances.jellyfin.name instances.jellyfin.interface.ssh)
|
||||
(command instances.firefly-iii.name instances.firefly-iii.interface.ssh)
|
||||
(command instances.forgejo.name instances.forgejo.interface.ssh)
|
||||
(command instances.firefly-iii.name instances.firefly-iii.interface.ssh)
|
||||
(command instances.mastodon.name instances.mastodon.interface.ssh)
|
||||
];
|
||||
typeLabels =
|
||||
type:
|
||||
lib.concatStrings [
|
||||
"switch"
|
||||
"build"
|
||||
"boot"
|
||||
(type "switch")
|
||||
(type "build")
|
||||
(type "boot")
|
||||
];
|
||||
localRebuild = typeLabels mkLocalRebuild;
|
||||
remoteRebuild = systemRecords mkRemoteRebuild;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue