2022-06-09 23:20:17 +02:00
|
|
|
{ config, ... }:
|
|
|
|
{
|
|
|
|
imports = [
|
2022-07-30 15:40:56 +02:00
|
|
|
./boot.nix
|
2022-06-09 23:20:17 +02:00
|
|
|
./disks.nix
|
2022-12-05 22:53:04 +01:00
|
|
|
./hardware-configuration.nix
|
2022-06-26 15:34:21 +02:00
|
|
|
./network.nix
|
2022-07-30 15:01:21 +02:00
|
|
|
./services.nix
|
2022-12-05 22:53:04 +01:00
|
|
|
./syncthing.nix
|
|
|
|
./system.nix
|
2022-12-05 20:32:39 +01:00
|
|
|
../../legacy/modules/networkdecrypt.nix
|
2022-06-09 23:20:17 +02:00
|
|
|
];
|
2022-11-29 19:02:01 +01:00
|
|
|
|
2022-06-09 23:20:17 +02:00
|
|
|
networking.hostName = "newton";
|
|
|
|
|
2022-06-27 22:43:06 +02:00
|
|
|
sops = {
|
|
|
|
defaultSopsFile = ./secrets.yaml;
|
2022-11-29 19:02:01 +01:00
|
|
|
gnupg.sshKeyPaths = [ ];
|
2022-06-27 22:43:06 +02:00
|
|
|
};
|
2022-06-09 23:20:17 +02:00
|
|
|
|
|
|
|
networking.firewall.allowedTCPPorts = [
|
|
|
|
];
|
|
|
|
|
|
|
|
system = {
|
|
|
|
stateVersion = "22.05";
|
|
|
|
autoUpgrade.enable = true;
|
|
|
|
};
|
|
|
|
}
|