# ~/nixos/modules/nixos/base.nix # # Shared baseline for ALL hosts. # Keep this predictable: explicit imports (no auto-import). # Host-specific exceptions belong in hosts//*.nix # { config, pkgs, lib, ... }: let moduleName = "nixos-base"; in { imports = [ # Core system baseline ./core/nix.nix ./core/locale.nix ./core/users.nix ./core/security.nix ./core/fonts.nix # Networking baseline ./networking/networkmanager.nix ./networking/firewall.nix # Desktop baseline (Wayland/Hyprland) ./desktop/audio.nix ./desktop/portals.nix ./desktop/wm-hyprland.nix ./desktop/greeter.nix # Apps baseline ./apps/flatpak.nix ./apps/packages.nix # Services baseline ./services/sshd.nix ./services/printing.nix #./services/syncthing.nix ]; desktop.greeter.enable = true; #make sure existing files can be overwritten home-manager.backupFileExtension = "hm-bak"; environment.etc."nixlog/loaded.${moduleName}".text = "loaded\n"; }