22 lines
753 B
INI
22 lines
753 B
INI
# cargo-make <https://github.com/sagiegurari/cargo-make> configuration file used to interact with the project files
|
|
|
|
[tasks.test]
|
|
description = "Tests the configuration without deploying"
|
|
category = "Test"
|
|
command = "nixos-rebuild"
|
|
args = [ "test", "-I", "nixos-config=." ]
|
|
|
|
[tasks.debug]
|
|
description = "Output trace without deployment"
|
|
category = "Test"
|
|
command = "nixos-rebuild"
|
|
args = [ "test", "--show-trace", "-I", "nixos-config=." ]
|
|
|
|
[tasks.deploy]
|
|
description = "Deploy configuration on the current system"
|
|
category = "Administration"
|
|
command = "nixos-rebuild"
|
|
args = [ "switch", "-I", "nixos-config=." ]
|
|
|
|
# FIXME(Krey): Integrate:
|
|
## HOSTNAME=finnaboo nixos-rebuild switch -I nixos-config=. --target-host kreyren@65.21.145.149 --use-remote-sudo |