nixos-systems/modules/system/base.nix
Eli Ribble e5f5117cdd Add eliribble to trusted users for pushing updates
This should make it possible to push remote builds.
2026-01-04 21:07:51 +00:00

47 lines
963 B
Nix

{ config, configFiles, lib, pkgs, ... }:
{
# Add my custom utilities
_module.args.myutils = import ../../lib/myutils.nix { lib = lib; pkgs = pkgs; };
boot.tmp.cleanOnBoot = true;
environment.systemPackages = map lib.lowPrio [
pkgs.binutils
pkgs.cloud-init
pkgs.curl
pkgs.dig
pkgs.htop
pkgs.ghostty.terminfo
pkgs.git
pkgs.git-lfs
pkgs.jq
pkgs.restic
pkgs.sops
pkgs.tig
pkgs.watchexec
];
i18n.defaultLocale = "en_US.UTF-8";
networking.useNetworkd = true;
nix.settings = {
download-buffer-size = 524288000;
experimental-features = [ "nix-command" "flakes" ];
trusted-users = [ "eliribble" ];
};
programs.mosh.enable = true;
security.pam.loginLimits = [{
domain = "*";
type = "soft";
item = "nofile";
value = "8192";
}];
services.swapspace.enable = true;
systemd.network = {
enable = true;
wait-online = {
anyInterface = true;
timeout = 10;
};
};
time.timeZone = "UTC";
zramSwap.enable = true;
}