mirror of
https://git.sr.ht/~magic_rb/cluster
synced 2024-11-29 11:36:16 +01:00
24 lines
473 B
Nix
24 lines
473 B
Nix
|
nglib: camptules:
|
||
|
(nglib "x86_64-linux").makeSystem {
|
||
|
system = "x86_64-linux";
|
||
|
name = "nixng-camptules";
|
||
|
config = ({ pkgs, config, nglib, lib, ... }:
|
||
|
{
|
||
|
imports = [
|
||
|
camptules.nixngModule
|
||
|
];
|
||
|
|
||
|
config = {
|
||
|
dumb-init = {
|
||
|
enable = true;
|
||
|
type.services = {};
|
||
|
};
|
||
|
|
||
|
services.camptules = {
|
||
|
enable = true;
|
||
|
package = camptules.defaultPackage."x86_64-linux";
|
||
|
};
|
||
|
};
|
||
|
});
|
||
|
}
|