2024-03-24 14:21:28 -04:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
|
|
|
|
{
|
|
|
|
# Adds some items from the server config without importing everything
|
|
|
|
security.auditd.enable = true;
|
|
|
|
|
|
|
|
i18n = {
|
|
|
|
defaultLocale = "en_US.utf8";
|
|
|
|
supportedLocales = [ "en_US.UTF-8/UTF-8" ];
|
|
|
|
};
|
|
|
|
|
|
|
|
boot = {
|
|
|
|
default = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
users = {
|
|
|
|
defaultUserShell = pkgs.zsh;
|
|
|
|
};
|
|
|
|
|
|
|
|
networking = {
|
|
|
|
firewall = {
|
|
|
|
enable = lib.mkDefault true;
|
|
|
|
allowedTCPPorts = [ ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-03-29 21:57:21 -04:00
|
|
|
services.autopull = {
|
|
|
|
enable = false;
|
|
|
|
ssh-key = "/root/.ssh/id_ed25519_ghdeploy";
|
|
|
|
path = /root/dotfiles;
|
2024-03-24 14:21:28 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
programs.zsh = {
|
|
|
|
enable = true;
|
|
|
|
syntaxHighlighting.enable = true;
|
|
|
|
zsh-autoenv.enable = true;
|
|
|
|
enableCompletion = true;
|
|
|
|
enableBashCompletion = true;
|
|
|
|
ohMyZsh.enable = true;
|
|
|
|
autosuggestions = {
|
|
|
|
enable = true;
|
|
|
|
strategy = [ "completion" ];
|
|
|
|
async = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|