2024-07-04 23:33:40 +05:30
|
|
|
{ lib, ... }: {
|
2024-06-29 17:52:32 +05:30
|
|
|
imports = [
|
|
|
|
./hardware
|
|
|
|
./programs
|
|
|
|
./services
|
|
|
|
./containers
|
|
|
|
./network.nix
|
|
|
|
./security.nix
|
|
|
|
];
|
|
|
|
|
2024-07-05 00:55:27 +05:30
|
|
|
nix.gc = {
|
|
|
|
automatic = true;
|
|
|
|
dates = "Fri *-*-* 00:00:00";
|
|
|
|
options = "--delete-old";
|
|
|
|
randomizedDelaySec = "1h";
|
|
|
|
};
|
|
|
|
|
2024-07-04 23:33:40 +05:30
|
|
|
documentation = {
|
|
|
|
enable = lib.mkDefault false;
|
|
|
|
doc.enable = lib.mkDefault false;
|
|
|
|
info.enable = lib.mkDefault false;
|
|
|
|
man.enable = lib.mkDefault false;
|
|
|
|
nixos.enable = lib.mkDefault false;
|
|
|
|
};
|
|
|
|
|
|
|
|
xdg = {
|
|
|
|
autostart.enable = lib.mkDefault false;
|
|
|
|
icons.enable = lib.mkDefault false;
|
|
|
|
mime.enable = lib.mkDefault false;
|
|
|
|
sounds.enable = lib.mkDefault false;
|
|
|
|
};
|
|
|
|
|
2024-06-29 23:30:15 +05:30
|
|
|
# https://github.com/NixOS/nixpkgs/issues/126755#issuecomment-869149243
|
|
|
|
nixpkgs.overlays = [
|
2024-06-29 17:52:32 +05:30
|
|
|
(final: super: {
|
|
|
|
makeModulesClosure = x:
|
|
|
|
super.makeModulesClosure (x // { allowMissing = true; });
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
}
|