diff options
author | jjanzen <jjanzen@jjanzen.ca> | 2025-03-05 22:17:31 -0600 |
---|---|---|
committer | jjanzen <jjanzen@jjanzen.ca> | 2025-03-05 22:17:31 -0600 |
commit | e6edbad14d8255743c7b259a1985db5fb5bd4e91 (patch) | |
tree | ab535ebf7942b3935b8ec35158291c09226faf73 /macos.local/.flake/system/core.nix.org | |
parent | c1f8c535d59658dd29d199c62326b9436a489ecf (diff) |
system changes
Diffstat (limited to 'macos.local/.flake/system/core.nix.org')
-rw-r--r-- | macos.local/.flake/system/core.nix.org | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/macos.local/.flake/system/core.nix.org b/macos.local/.flake/system/core.nix.org deleted file mode 100644 index 18ca960..0000000 --- a/macos.local/.flake/system/core.nix.org +++ /dev/null @@ -1,61 +0,0 @@ -#+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 { - imports = [ - ./aerospace.nix - ./homebrew.nix - ]; - - # Unfortunately, I sometimes need unfree packages - nixpkgs.config.allowUnfree = true; - - # Install a small number of packages for root - environment.systemPackages = with pkgs; [ - gnupg - myaspell - neovim - ]; - - # Use TouchID for sudo - security.pam.services.sudo_local.touchIdAuth = true; - - # Open text files in neovim by default - environment.variables.EDITOR = "nvim"; - - # Enable nix packages - nix.package = pkgs.nix; - - programs.gnupg.agent.enable = false; - - # Use flakes - nix.settings.experimental-features = "nix-command flakes"; - - # Use zsh as my shell - programs.zsh.enable = true; - - # Enable documentation and make - documentation = { - enable = true; - info.enable = true; - man.enable = true; - }; - - system.stateVersion = 5; - - # Use ARM64 packages - nixpkgs.hostPlatform = "aarch64-darwin"; - - # Define my user - users.users.jjanzen = { - name = "jjanzen"; - home = "/Users/jjanzen"; - }; - } -#+end_src |