Robotnix v1

This commit is contained in:
ari committed 2026-10-23 15:26:04 -04:00
1 parent 0cf504ad27
commit eb6380ddfe
14 files changed
+1642 -1

No files matched your search

@@ -0,0 +1,24 @@
# A robot's own NixOS config (default seed).
#
# The host copies this into the robot's /etc/nixos on first install and on
# `robotnix reseed`. After that the robot owns it. Inside the robot:
# sudo nixos-rebuild switch --flake /etc/nixos
# Host-managed basics (network, ssh, user) live in /etc/nixos/robotnix.nix.
{ pkgs, ... }:
{
# The user has no password; ssh keys only.
security.sudo.wheelNeedsPassword = false;
environment.systemPackages = with pkgs; [
git
vim
curl
htop
];
nix.gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 14d";
};
}