diff options
Diffstat (limited to 'macos.local/.flake/system/core.nix.org')
-rw-r--r-- | macos.local/.flake/system/core.nix.org | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/macos.local/.flake/system/core.nix.org b/macos.local/.flake/system/core.nix.org new file mode 100644 index 0000000..d38073f --- /dev/null +++ b/macos.local/.flake/system/core.nix.org @@ -0,0 +1,37 @@ +#+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, ... }: + + { + environment.systemPackages = with pkgs; [ + emacs-macport + gnupg + neovim + yabai + 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 |