| @@ -12,12 +12,78 @@ | |||||
| TODO: For now macos configuration.nix setup. Will generalize later to nixos too. | TODO: For now macos configuration.nix setup. Will generalize later to nixos too. | ||||
| #+BEGIN_SRC conf :padline no :mkdirp yes :tangle (tangle/file ".nixpkgs/darwin-configuration.nix" (and (bound-and-true-p nix-p) (bound-and-true-p macos-p))) | #+BEGIN_SRC conf :padline no :mkdirp yes :tangle (tangle/file ".nixpkgs/darwin-configuration.nix" (and (bound-and-true-p nix-p) (bound-and-true-p macos-p))) | ||||
| { pkgs, ... }: | |||||
| { | { | ||||
| # List packages installed in system profile. To search by name, run: | # List packages installed in system profile. To search by name, run: | ||||
| # $ nix-env -qaP | grep wget | # $ nix-env -qaP | grep wget | ||||
| environment.systemPackages = | |||||
| [ pkgs.vim | |||||
| ]; | |||||
| environment.systemPackages = with pkgs; [ | |||||
| aria | |||||
| aspell | |||||
| aspellDicts.en | |||||
| cacert | |||||
| clang | |||||
| cloc | |||||
| cscope | |||||
| ctags | |||||
| curl | |||||
| diffutils | |||||
| docbook5 | |||||
| emacs | |||||
| entr | |||||
| gist | |||||
| gitAndTools.git-extras | |||||
| gitAndTools.gitFull | |||||
| gmp | |||||
| gnumake | |||||
| gnutar | |||||
| gnutls | |||||
| googler | |||||
| graphviz-nox | |||||
| haskellPackages.ShellCheck | |||||
| haskellPackages.pandoc | |||||
| htop | |||||
| imagemagick | |||||
| iperf | |||||
| jq | |||||
| keychain | |||||
| less | |||||
| llvm | |||||
| mercurial | |||||
| moreutils | |||||
| mosh | |||||
| mr | |||||
| ncdu | |||||
| openssl | |||||
| p7zip | |||||
| patchutils | |||||
| pbzip2 | |||||
| pkg-config | |||||
| ponysay | |||||
| pv | |||||
| python38Packages.howdoi | |||||
| restic | |||||
| ripgrep | |||||
| rlwrap | |||||
| rsync | |||||
| rtags | |||||
| shfmt | |||||
| silver-searcher | |||||
| sloccount | |||||
| sshpass | |||||
| texlive.combined.scheme-basic | |||||
| tmux | |||||
| transcrypt | |||||
| tree | |||||
| unzip | |||||
| upx | |||||
| wakelan | |||||
| watch | |||||
| wget | |||||
| xhyve | |||||
| xz | |||||
| youtube-dl | |||||
| yq | |||||
| ]; | |||||
| # Use a custom configuration.nix location. | # Use a custom configuration.nix location. | ||||
| # $ darwin-rebuild switch -I darwin-config=$HOME/.config/nixpkgs/darwin/configuration.nix | # $ darwin-rebuild switch -I darwin-config=$HOME/.config/nixpkgs/darwin/configuration.nix | ||||