diff options
| author | Akshay Nair <phenax5@gmail.com> | 2025-06-22 01:25:32 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2025-06-22 01:25:32 +0530 |
| commit | 1ea3c72321a83143591bd4e9989da94798c2d71b (patch) | |
| tree | a3d584226f176ad6b7e71fff5e646216d0dff63d /modules/config.nix | |
| parent | e8344d9f10cc3313c69dc9717d02602645048c1a (diff) | |
| download | homeserver-nixos-config-1ea3c72321a83143591bd4e9989da94798c2d71b.tar.gz homeserver-nixos-config-1ea3c72321a83143591bd4e9989da94798c2d71b.zip | |
Add immish dashboard link + refactor stuff
Diffstat (limited to '')
| -rw-r--r-- | modules/config.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/modules/config.nix b/modules/config.nix new file mode 100644 index 0000000..a4b6c79 --- /dev/null +++ b/modules/config.nix @@ -0,0 +1,31 @@ +{ ... }: +{ + imports = [ + ./hardware + ./users + ./network + ./media + ./dashboard + ./storage + ./notifications + ./monitoring + ./packages.nix + ]; + + time.timeZone = "Asia/Kolkata"; + i18n.defaultLocale = "en_GB.UTF-8"; + + nix = { + settings = { + experimental-features = [ "nix-command" "flakes" ]; + auto-optimise-store = true; + }; + gc = { + automatic = true; + dates = "weekly"; + }; + }; + nixpkgs.config.allowUnfree = true; + + system.stateVersion = "25.05"; +} |
