refactor: den-native config, tunnel quirk, per-module inputs

This commit is contained in:
4DBug committed 2026-10-16 07:45:16 -05:00
1 parent 0431bce152
commit bfbac8b961
100 files changed
+668 -1417

No files matched your search

+22 -21
View File
@@ -1,33 +1,29 @@
{ den, ... }: {
den.default = {
includes = with den.aspects; [
boot
security
locale
essentials
den.batteries.hostname
dns
openssh
syncthing
tailscale
openvpn
system.boot
system.security
system.locale
software.cli
#beszel
system.network.dns
system.network.openssh
system.network.syncthing
system.network.tailscale
system.network.openvpn
fish
software.shell
fetch
opencode
# host-only: den.default also reaches standalone homes
({ host, ... }: { includes = [ system.theme.catppuccin ]; })
];
nixos = { ... }: {
imports = [
/etc/nixos/hardware-configuration.nix
];
nixos = {
home-manager = {
#useGlobalPkgs = true;
useUserPackages = true;
backupFileExtension = "hm-backup";
};
@@ -40,10 +36,15 @@
};
};
nixpkgs.config.allowUnfree = true;
nix = {
optimise.automatic = true;
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 14d";
};
settings.experimental-features = [ "nix-command" "flakes" ];
};
};