swap to helix + reformat

This commit is contained in:
serenity-F 2026-08-30 21:57:18 +10:00
parent 11962af1a0
commit 286f58b614
No known key found for this signature in database
5 changed files with 70 additions and 20 deletions

View file

@ -1,30 +1,35 @@
{ self, lib, ... }:
# default configuration shared by all hosts
{
flake.nixosModules.coreConfig = { pkgs, ... }: {
# other modules to load
imports = [
self.nixosModules.audioConfig
self.nixosModules.nixConfig
self.nixosModules.corePackages
];
documentation.dev.enable = true;
# compresses half the ram for use as swap
zramSwap.enable = true;
# locale settings
i18n = {
defaultLocale = "en_AU.UTF-8";
# saves space
supportedLocales = [
"en_AU.UTF-8/UTF-8"
"en_US.UTF-8/UTF-8"
];
};
# meanjin time
time.timeZone = lib.mkDefault "Austrlia/Brisbane";
# don't touch this
system.stateVersion = lib.mkDefault "24.11";
documentation.dev.enable = true;
time.timeZone = lib.mkDefault "Australia/Brisbane";
# compresses half the ram for use as swap
zramSwap.enable = true;
};
}