{ self, inputs, ... }: { flake.nixosModules.core = { pkgs, lib, ... }: let modules = with self.nixosModules; [ user bootloader nix overlays hardware locale nix-ld ]; in { # Hardware/disk config is deliberately NOT imported here. It is per-host and # lives in modules/hosts//{_hardware.nix,disks.nix}, wired up by that # host's default.nix. Importing it from this shared module used to mean both # hosts resolved to whichever machine's /etc/nixos file existed at build time. imports = modules; services = { openssh.enable = true; avahi.enable = true; }; environment.systemPackages = with pkgs; [ # neovim is provided by the nvim feature module (programs.neovim.enable). unzip p7zip-rar usbutils lsof gvfs libnotify python313 curlWithGnuTls wget ]; system.stateVersion = "26.05"; }; }