{ config, lib, pkgs, ... }: let in { imports = [ ./hardware.nix ./webapps/default.nix ]; normalUsers = { reidlab = { conf = { packages = with pkgs; [ bat btop duf file micro nix-output-monitor tree which ]; extraGroups = [ "wheel" "dotfiles" ]; openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICmwWuwS+a1GzYFSNOkgk/zF5bolXqat1RP5FXJv+vto reidlab@rei-pc" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKC12NkyZAFNDHfq1ECh4uAgM4mpKfsQnL3XF/ZzSyCJ reidlab@rei-phone" ]; }; homeConf.home = { sessionVariables = { EDITOR = "micro"; }; }; }; }; modules = { services = { ssh = { enable = true; requirePassword = false; }; postgres.enable = true; redis.enable = true; mosh.enable = true; }; security.useDoas = false; }; # enable network manager - probably not the best on a single server but Oh Well networking.networkmanager.enable = true; }