nix-dotfiles/systems/configuration.nix

33 lines
590 B
Nix
Raw Normal View History

2024-04-18 17:53:15 -04:00
{ lib, ... }:
2024-04-10 18:23:40 -04:00
{
security.auditd.enable = true;
2023-12-23 06:49:01 +01:00
2023-12-24 20:09:35 +01:00
boot = {
default = true;
kernel.sysctl = {
"net.ipv6.conf.ens3.accept_ra" = 1;
};
2023-12-24 20:09:35 +01:00
};
2023-12-27 10:03:13 +01:00
networking = {
firewall = {
enable = lib.mkDefault true;
allowedTCPPorts = [ ];
2023-12-27 10:03:13 +01:00
};
};
2023-12-23 06:49:01 +01:00
2024-04-18 17:53:15 -04:00
services.autopull = {
enable = true;
ssh-key = "/root/.ssh/id_ed25519_ghdeploy";
path = /root/dotfiles;
2023-12-23 06:49:01 +01:00
};
2024-04-18 17:53:15 -04:00
system.autoUpgrade = {
enable = true;
flags = [ "--accept-flake-config" ];
randomizedDelaySec = "1h";
persistent = true;
flake = "github:RAD-Development/nix-dotfiles";
2023-12-23 06:49:01 +01:00
};
}