Refactor machine logic
This commit is contained in:
parent
fd423b8237
commit
1e80b36037
11 changed files with 53 additions and 114 deletions
|
@ -1,20 +1,16 @@
|
|||
{
|
||||
machines.warwick = {
|
||||
nixosModule = {inputs, ...}: {
|
||||
imports = [inputs.nixos-hardware.nixosModules.raspberry-pi-4];
|
||||
{inputs, ...}: {
|
||||
imports = [inputs.nixos-hardware.nixosModules.raspberry-pi-4];
|
||||
|
||||
config = {
|
||||
facter.reportPath = ./facter.json;
|
||||
config = {
|
||||
facter.reportPath = ./facter.json;
|
||||
|
||||
lab = {
|
||||
storage.profile = "pi";
|
||||
monitoring.server.enable = true;
|
||||
lab = {
|
||||
storage.profile = "pi";
|
||||
monitoring.server.enable = true;
|
||||
|
||||
tailscale = {
|
||||
advertiseExitNode = true;
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
tailscale = {
|
||||
advertiseExitNode = true;
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Reference in a new issue