[nix] Cleanup and annotations

This commit is contained in:
Alyxia Sother 2023-03-14 10:06:59 +01:00
parent a040e3b5c3
commit cf6d1e7fed
No known key found for this signature in database
GPG Key ID: 01E16C4E775A37E4
1 changed files with 9 additions and 3 deletions

View File

@ -22,6 +22,7 @@
jq jq
mosh mosh
neovim neovim
nixpkgs-fmt
nodePackages.pnpm nodePackages.pnpm
nodePackages.prettier nodePackages.prettier
nodePackages.yarn nodePackages.yarn
@ -32,10 +33,10 @@
rectangle rectangle
ripgrep ripgrep
ruby_3_1 ruby_3_1
tailscale
shards shards
slack slack
slack-term slack-term
tailscale
vim vim
wget wget
zig zig
@ -43,18 +44,20 @@
homebrew = { homebrew = {
enable = true; enable = true;
# If only this didn't break.
onActivation.cleanup = "zap"; onActivation.cleanup = "zap";
taps = [ taps = [
"homebrew/cask"
"drud/ddev" "drud/ddev"
"homebrew/cask"
]; ];
# Please do not the brew.
brews = [ brews = [
"composer" "composer"
"ddev" "ddev"
"sdl2"
"pkg-config" "pkg-config"
"sdl2"
]; ];
casks = [ casks = [
@ -94,6 +97,7 @@
}; };
# Create /etc/zshrc that loads the nix-darwin environment. # Create /etc/zshrc that loads the nix-darwin environment.
# I wish I had access to inputs.
programs.zsh = { programs.zsh = {
enable = true; enable = true;
promptInit = " promptInit = "
@ -104,6 +108,8 @@
# Used for backwards compatibility, please read the changelog before changing. # Used for backwards compatibility, please read the changelog before changing.
# $ darwin-rebuild changelog # $ darwin-rebuild changelog
system.stateVersion = 4; system.stateVersion = 4;
# Absolutely proprietary.
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
} }