#+title: System Core This file imports various system configuration components in addition to enabling flakes and defining the system version. #+begin_src nix { config, pkgs, ... }: let inherit (pkgs) aspellWithDicts; myaspell = aspellWithDicts (d: [d.en d.en-computers d.en-science]); in { nixpkgs.config.allowUnfree = true; imports = [ ./skhd.nix ./yabai.nix ]; environment.systemPackages = with pkgs; [ gnupg myaspell neovim skhd ]; environment.variables.EDITOR = "nvim"; programs.gnupg.agent.enable = true; services.nix-daemon.enable = true; nix.package = pkgs.nix; nix.settings.experimental-features = "nix-command flakes"; programs.zsh.enable = true; system.stateVersion = 5; nixpkgs.hostPlatform = "aarch64-darwin"; users.users.jjanzen = { name = "jjanzen"; home = "/Users/jjanzen"; }; } #+end_src