task | configure to be able to colmena and regular nixos-rebuild
This commit is contained in:
parent
50e6ec22a8
commit
cb7e82f8d0
12 changed files with 76 additions and 21 deletions
15
hosts/eve/colmena.nix
Normal file
15
hosts/eve/colmena.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
inputs,
|
||||
outputs,
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./default.nix
|
||||
];
|
||||
deployment = {
|
||||
tags = ["workstation" "intel"];
|
||||
};
|
||||
}
|
||||
|
|
@ -19,7 +19,4 @@
|
|||
../../home/work
|
||||
];
|
||||
networking.hostName = "eve";
|
||||
deployment = {
|
||||
tags = ["workstation" "intel"];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
15
hosts/fred/colmena.nix
Normal file
15
hosts/fred/colmena.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
inputs,
|
||||
outputs,
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./default.nix
|
||||
];
|
||||
deployment = {
|
||||
tags = ["server" "intel"];
|
||||
};
|
||||
}
|
||||
|
|
@ -15,7 +15,4 @@
|
|||
./podman.nix
|
||||
];
|
||||
networking.hostName = "fred";
|
||||
deployment = {
|
||||
tags = ["server" "intel"];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@
|
|||
imports = [
|
||||
./default.nix
|
||||
];
|
||||
networking.hostName = "loki";
|
||||
boot.binfmt.emulatedSystems = ["aarch64-linux"];
|
||||
deployment = {
|
||||
tags = ["workstation" "intel"];
|
||||
|
|
|
|||
|
|
@ -20,8 +20,4 @@
|
|||
../../home/work
|
||||
];
|
||||
networking.hostName = "loki";
|
||||
boot.binfmt.emulatedSystems = ["aarch64-linux"];
|
||||
deployment = {
|
||||
tags = ["workstation" "intel"];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
16
hosts/pi1/colmena.nix
Normal file
16
hosts/pi1/colmena.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
inputs,
|
||||
outputs,
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./default.nix
|
||||
];
|
||||
deployment = {
|
||||
targetHost = "nixos";
|
||||
tags = ["arm"];
|
||||
};
|
||||
}
|
||||
|
|
@ -14,8 +14,4 @@
|
|||
../themes.nix
|
||||
];
|
||||
networking.hostName = "pi1";
|
||||
deployment = {
|
||||
targetHost = "nixos";
|
||||
tags = ["arm"];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
15
hosts/smaug/colmena.nix
Normal file
15
hosts/smaug/colmena.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
inputs,
|
||||
outputs,
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./default.nix
|
||||
];
|
||||
deployment = {
|
||||
tags = ["workstation" "intel"];
|
||||
};
|
||||
}
|
||||
|
|
@ -18,7 +18,4 @@
|
|||
../../home/work
|
||||
];
|
||||
networking.hostName = "smaug";
|
||||
deployment = {
|
||||
tags = ["workstation" "intel"];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
15
hosts/t2/colmena.nix
Normal file
15
hosts/t2/colmena.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
inputs,
|
||||
outputs,
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./default.nix
|
||||
];
|
||||
deployment = {
|
||||
tags = ["arm"];
|
||||
};
|
||||
}
|
||||
|
|
@ -15,7 +15,4 @@
|
|||
../wm
|
||||
];
|
||||
networking.hostName = "t2";
|
||||
deployment = {
|
||||
tags = ["arm"];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue