mirror of
https://codeberg.org/privacy1st/nix-git
synced 2025-02-02 07:45:16 +01:00
docs
This commit is contained in:
parent
823c25a42a
commit
cf54928bdf
@ -201,6 +201,10 @@ i='@server'; colmena build --on $i -v --show-trace && colmena apply --on $i boot
|
|||||||
#colmena exec --on $i "reboot"
|
#colmena exec --on $i "reboot"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
yodaTuxHeadless:
|
||||||
|
|
||||||
|
- This is a second configuration file for the `yodaTux` host. Therefore, its deployment config is in a separate `hive.nix` file. First `cd` into [hosts/yodaTuxHeadless](hosts/yodaTuxHeadless), then run the "normal" colmena commands for `yodaTux`.
|
||||||
|
|
||||||
### Update
|
### Update
|
||||||
|
|
||||||
* Updating NixOS. https://superuser.com/a/1604695
|
* Updating NixOS. https://superuser.com/a/1604695
|
||||||
|
17
hosts/yodaTuxHeadless/hive.nix
Normal file
17
hosts/yodaTuxHeadless/hive.nix
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
let
|
||||||
|
sources = import ../../nix/sources.nix;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
meta = {
|
||||||
|
nixpkgs = import sources.nixpkgs {};
|
||||||
|
};
|
||||||
|
|
||||||
|
yodaTux = { name, nodes, ... }: {
|
||||||
|
imports = [ ./configuration.nix ];
|
||||||
|
|
||||||
|
deployment = {
|
||||||
|
allowLocalDeployment = true;
|
||||||
|
targetHost = null;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user