configuration.nix/hosts/rico2/default.nix

49 lines
970 B
Nix
Raw Normal View History

2024-07-05 02:29:05 +05:30
_: {
2024-06-29 17:52:32 +05:30
imports = [
./hardware
./programs
./services
./containers
2024-11-16 22:10:11 +05:30
./network
2024-06-29 17:52:32 +05:30
./security.nix
];
2024-07-05 02:29:05 +05:30
nodeconfig = {
minimize = true;
nix.auto-gc = true;
is-pi = true;
is-server = true;
2024-11-17 10:28:43 +05:30
facts = {
external-ip = null;
local-ip = "192.168.1.12";
wireguard-ip = "10.10.10.12";
};
2024-07-05 00:05:19 +05:30
};
2024-06-29 17:52:32 +05:30
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 = "23.11";
};
}