init
Some checks failed
CI / check (push) Has been cancelled
CI / deploy (push) Has been cancelled

This commit is contained in:
Jet 2026-03-20 21:31:50 -07:00
commit 642869ce9b
No known key found for this signature in database
27 changed files with 1414 additions and 0 deletions

43
modules/common.nix Normal file
View file

@ -0,0 +1,43 @@
{ pkgs, ... }:
{
age.identityPaths = [ "/var/lib/agenix/host.age" ];
nix.settings = {
experimental-features = [
"nix-command"
"flakes"
];
trusted-users = [
"root"
"@wheel"
];
auto-optimise-store = true;
max-jobs = "auto";
cores = 0;
};
nix.gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 14d";
};
time.timeZone = "America/Los_Angeles";
i18n.defaultLocale = "en_US.UTF-8";
services.timesyncd.enable = true;
systemd.tmpfiles.rules = [
"d /var/lib/agenix 0700 root root -"
"z /var/lib/agenix/host.age 0400 root root -"
];
environment.systemPackages = with pkgs; [
vim
git
curl
jq
rsync
mariadb.client
];
}