30 lines
578 B
Nix
30 lines
578 B
Nix
{ pkgs, lib, config, self, keys, paths, ... }: {
|
|
imports =
|
|
[
|
|
./network.nix
|
|
./passwordmanager.nix
|
|
./versioncontrol.nix
|
|
./fancontrol.nix
|
|
];
|
|
|
|
virtualisation.docker = {
|
|
enable = true;
|
|
daemon.settings = {
|
|
"dns" = [ "1.1.1.1" "8.8.8.8" ];
|
|
};
|
|
};
|
|
|
|
age = {
|
|
identityPaths = paths.identities;
|
|
secrets = {
|
|
containers_env = {
|
|
file = self + "/secrets/containers.env.age";
|
|
path = "/run/secrets/containers.env";
|
|
owner = "root";
|
|
group = "root";
|
|
mode = "0400";
|
|
};
|
|
};
|
|
};
|
|
}
|