45 lines
989 B
Nix
45 lines
989 B
Nix
{ modulesPath, ... }: {
|
|
imports = [
|
|
(modulesPath + "/virtualisation/digital-ocean-config.nix")
|
|
./network
|
|
./programs
|
|
./services
|
|
./security.nix
|
|
];
|
|
|
|
nodeconfig = {
|
|
minimize = true;
|
|
nix.auto-gc = true;
|
|
facts = {
|
|
external-ip = "128.199.30.141";
|
|
local-ip = "10.122.0.3";
|
|
wireguard-ip = "10.10.10.1";
|
|
};
|
|
};
|
|
|
|
i18n = {
|
|
defaultLocale = "en_US.UTF-8";
|
|
extraLocaleSettings = {
|
|
LC_ADDRESS = "en_US.UTF-8";
|
|
LC_IDENTIFICATION = "en_US.UTF-8";
|
|
LC_MEASUREMENT = "en_US.UTF-8";
|
|
LC_MONETARY = "en_US.UTF-8";
|
|
LC_NAME = "en_US.UTF-8";
|
|
LC_NUMERIC = "en_US.UTF-8";
|
|
LC_PAPER = "en_US.UTF-8";
|
|
LC_TELEPHONE = "en_US.UTF-8";
|
|
LC_TIME = "en_US.UTF-8";
|
|
LC_ALL = "en_US.UTF-8";
|
|
};
|
|
supportedLocales = [ "en_US.UTF-8/UTF-8" ];
|
|
};
|
|
|
|
time.timeZone = "Asia/Kolkata";
|
|
system = {
|
|
switch = {
|
|
enable = false;
|
|
enableNg = true;
|
|
};
|
|
stateVersion = "24.11";
|
|
};
|
|
}
|