Files
nixos-config/hosts/common/global/default.nix
T
Miguel Palhas 817c2f4f5e
CI / lint (push) Failing after 1m52s
CI / eval (push) Failing after 2m38s
System tweaks, gitea CI, boot limit
- nix: keep-outputs + keep-derivations (preserve devshells across GC)
- zramSwap + fstrim
- systemd-boot configurationLimit = 20
- expand .gitignore (editor/AI/stray dotfiles); track statix.toml
- gitea Actions CI: blocking flake-check eval + informational statix/deadnix/nixfmt

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-27 18:52:20 +01:00

42 lines
854 B
Nix

{ inputs, pkgs, ... }:
{
imports = [
inputs.home-manager.nixosModules.home-manager
./nix.nix
./ssh.nix
];
environment.systemPackages = with pkgs; [
python3
gcc
gnumake
];
time = {
timeZone = "Europe/Lisbon";
};
i18n = {
defaultLocale = "en_US.UTF-8";
extraLocaleSettings = {
LC_ADDRESS = "pt_PT.UTF-8";
LC_IDENTIFICATION = "pt_PT.UTF-8";
LC_MEASUREMENT = "pt_PT.UTF-8";
LC_MONETARY = "pt_PT.UTF-8";
LC_NAME = "pt_PT.UTF-8";
LC_NUMERIC = "pt_PT.UTF-8";
LC_PAPER = "pt_PT.UTF-8";
LC_TELEPHONE = "pt_PT.UTF-8";
LC_TIME = "pt_PT.UTF-8";
};
};
services.dbus.packages = with pkgs; [ gcr ];
# Compressed RAM swap — better behaviour under memory pressure.
zramSwap.enable = true;
# Periodic SSD TRIM.
services.fstrim.enable = true;
}