created update.nix

This commit is contained in:
Richie Cahill
2024-04-19 17:59:10 -04:00
parent bf2fe7396d
commit 825956dc9c
4 changed files with 19 additions and 29 deletions

View File

@ -1,32 +1,4 @@
{ lib, ... }:
{
security.auditd.enable = true;
boot = {
default = true;
kernel.sysctl = {
"net.ipv6.conf.ens3.accept_ra" = 1;
};
};
networking = {
firewall = {
enable = lib.mkDefault true;
allowedTCPPorts = [ ];
};
};
services.autopull = {
enable = true;
ssh-key = "/root/.ssh/id_ed25519_ghdeploy";
path = /root/dotfiles;
};
system.autoUpgrade = {
enable = true;
flags = [ "--accept-flake-config" ];
randomizedDelaySec = "1h";
persistent = true;
flake = "github:RAD-Development/nix-dotfiles";
};
boot.default = true;
}