From 616c0b69313ce28bcc727b1763e99604929c30da Mon Sep 17 00:00:00 2001 From: Jacob Janzen Date: Mon, 7 Oct 2024 18:55:30 -0500 Subject: begin nix migration for mac --- macos.local/.flake/system/core.nix.org | 37 ++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 macos.local/.flake/system/core.nix.org (limited to 'macos.local/.flake/system') 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 -- cgit v1.2.3