nixops for managing nas, take 1
This commit is contained in:
parent
15dfc5c9b7
commit
a98013a0ea
2 changed files with 22 additions and 0 deletions
5
nix/deployments/README.md
Normal file
5
nix/deployments/README.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# Declarative machine specifications
|
||||
|
||||
Intended for use with [nixops][].
|
||||
|
||||
[nixops]: https://hydra.nixos.org/build/115931128/download/1/manual/manual.html#chap-introduction
|
||||
17
nix/deployments/nixops.nix
Normal file
17
nix/deployments/nixops.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
network = {
|
||||
name = "house";
|
||||
enableRollback = true;
|
||||
description = "machines used in my house";
|
||||
|
||||
storage.legacy = { };
|
||||
};
|
||||
defaults = {
|
||||
documentation.enable = false;
|
||||
};
|
||||
nas = {
|
||||
deployment.targetHost = "192.168.1.65";
|
||||
deployment.targetUser = "haak";
|
||||
imports = [ ../system/xps11/configuration.nix ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue