modularized deployments

This commit is contained in:
2026-08-14 10:07:01 -05:00
parent efad2c82e8
commit a058a8cddc
6 changed files with 99 additions and 26 deletions

View File

@@ -12,9 +12,9 @@
{
imports = [
./hardware-configuration.nix
../services.nix
../packages.nix
../security.nix
./services.nix
./packages.nix
./security.nix
];
# Enable flakes and nix-command
@@ -30,7 +30,6 @@
"electron-39.8.10"
];
# Use the systemd-boot EFI boot loader.
boot = {
loader = {
limine = {
@@ -47,7 +46,20 @@
networking = {
hostName = "demilich";
networkmanager.enable = true;
networkmanager = {
enable = true;
};
nftables = {
enable = true;
};
firewall = {
enable = true;
trustedInterfaces = [ config.services.tailscale.interfaceName ];
allowedUDPPorts = [ config.services.tailscale.port ];
};
};
# Set your time zone.
@@ -56,7 +68,7 @@
# Select internationalisation properties.
i18n.defaultLocale = "en_CA.UTF-8";
console = {
# keyMap = "us";
keyMap = "us";
useXkbConfig = true;
};