char/topaz-flake
git clone https://git.t4t.associates/char/topaz-flake
cb538f5
main
1{ pkgs , unstable-pkgs , ...} :{ 2boot . tmp . cleanOnBoot = true ; 3zramSwap . enable = true ; 4 5networking . hostName = "topaz" ; 6time . timeZone = "UTC" ; 7networking . firewall . enable = false ; 8 9services . openssh . enable = true ; 10services . openssh . settings . PasswordAuthentication = false ; 11 12security . sudo . wheelNeedsPassword = false ; 13 14users . users . charlotte = { 15isNormalUser = true ; 16description = "charlotte" ; 17extraGroups = [ "wheel" ]; 18shell = pkgs . zsh ; 19}; 20 21programs . zsh . enable = true ; 22programs . git . enable = true ; 23programs . vim = { 24enable = true ; 25defaultEditor = true ; 26package = unstable-pkgs . vim ; 27}; 28 29environment . shells = [ pkgs . zsh ]; 30environment . variables = { 31EDITOR = "vim" ; 32VISUAL = "vim" ; 33SYSTEMD_EDITOR = "vim" ; 34}; 35 36nixpkgs . config . allowUnfree = true ; 37programs . nix-ld . enable = true ; 38 39environment . systemPackages = 40( with pkgs ; [ gcc binutils pkg-config glibc gnumake cmake ]) ++ 41( with pkgs ; [ wget htop tmux ]) ++ 42( with unstable-pkgs ; [ vim jujutsu deno sqlite-interactive ]); 43services . tailscale . enable = true ; 44 45security . acme = { 46acceptTerms = true ; 47defaults . = "half-kh-hacker@hackery.site" ; 48defaults . webroot = "/var/lib/acme/acme-challenge/" ; 49}; 50users . groups . certs = { 51members = [ "nginx" "prosody" ]; 52}; 53 54nix . settings . trusted-public-keys = [ "runestone:zZhLpoLn/vHqjINbOuxqYwEQl21ry/nqTXIE1QAd7KQ=" ]; 55nix . settings . require-sigs = false ; 56}