mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 09:27:44 -04:00
Setup Homebrew stuff for macOS
This commit is contained in:
parent
f6f9bdba8d
commit
5507d25639
2 changed files with 89 additions and 26 deletions
|
|
@ -1,23 +1,6 @@
|
|||
{ pkgs, ... }: {
|
||||
nix.extraOptions = ''
|
||||
# Generated by https://github.com/DeterminateSystems/nix-installer, version 0.11.0.
|
||||
extra-nix-path = nixpkgs=flake:nixpkgs
|
||||
experimental-features = nix-command flakes auto-allocate-uids
|
||||
build-users-group = nixbld
|
||||
bash-prompt-prefix = (nix:$name)\040
|
||||
'';
|
||||
|
||||
fonts.fontDir.enable = false; # True will uninstall other fonts, false installs, but doesn't uninstall
|
||||
fonts.fonts = [ (pkgs.nerdfonts.override { fonts = [
|
||||
"Hack"
|
||||
"SourceCodePro"
|
||||
]; }) ];
|
||||
|
||||
programs.zsh.enable = true;
|
||||
|
||||
services.nix-daemon.enable = true;
|
||||
system.stateVersion = 4;
|
||||
users.users."gene.liverman".home = "/Users/gene.liverman";
|
||||
|
||||
environment = {
|
||||
shells = with pkgs; [ bash zsh ];
|
||||
loginShell = pkgs.zsh;
|
||||
|
|
@ -27,23 +10,19 @@
|
|||
];
|
||||
systemPackages = with pkgs; [
|
||||
coreutils
|
||||
#adr-tools
|
||||
chart-testing
|
||||
colordiff
|
||||
dog
|
||||
dos2unix
|
||||
# dust
|
||||
|
||||
du-dust
|
||||
subversion
|
||||
# git-svn
|
||||
|
||||
gotop
|
||||
# helm
|
||||
hub
|
||||
hugo
|
||||
|
||||
kopia
|
||||
# kubernetes-cli
|
||||
# kubectl
|
||||
kubectx
|
||||
mas
|
||||
mtr
|
||||
|
|
@ -57,5 +36,87 @@
|
|||
yq
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
fonts.fontDir.enable = false; # True will uninstall other fonts, false installs, but doesn't uninstall
|
||||
fonts.fonts = [ (pkgs.nerdfonts.override { fonts = [
|
||||
"Hack"
|
||||
"SourceCodePro"
|
||||
]; }) ];
|
||||
|
||||
homebrew = {
|
||||
enable = true;
|
||||
onActivation = {
|
||||
autoUpdate = true;
|
||||
cleanup = "zap";
|
||||
upgrade = true;
|
||||
};
|
||||
taps = [
|
||||
"hashicorp/tap"
|
||||
# "homebrew/bundle"
|
||||
# "homebrew/cask-fonts"
|
||||
# "jandedobbeleer/oh-my-posh"
|
||||
"null-dev/firefox-profile-switcher"
|
||||
"puppetlabs/puppet"
|
||||
];
|
||||
brews = [
|
||||
"adr-tools"
|
||||
];
|
||||
casks = [
|
||||
"1password"
|
||||
"amethyst"
|
||||
"audacity"
|
||||
"cakebrew"
|
||||
"elgato-stream-deck"
|
||||
"firefox"
|
||||
# "font-hack-nerd-font"
|
||||
# "font-inconsolata-g-for-powerline"
|
||||
# "font-source-code-pro-for-powerline"
|
||||
"google-drive"
|
||||
"iterm2"
|
||||
"keepingyouawake"
|
||||
"kopiaui"
|
||||
"libreoffice"
|
||||
"logseq"
|
||||
"meld"
|
||||
"nextcloud"
|
||||
"obs"
|
||||
"onlyoffice"
|
||||
"pdk"
|
||||
"puppet-bolt"
|
||||
"qmk-toolbox"
|
||||
"raycast"
|
||||
"signal"
|
||||
"slack"
|
||||
"tailscale"
|
||||
"thunderbird"
|
||||
"vagrant"
|
||||
"virtualbox"
|
||||
"visual-studio-code"
|
||||
"vivaldi"
|
||||
"vlc"
|
||||
"whatsapp"
|
||||
"zenmap"
|
||||
"zoom"
|
||||
];
|
||||
};
|
||||
|
||||
nix = {
|
||||
settings = {
|
||||
bash-prompt-prefix = "(nix:$name)\040";
|
||||
build-users-group = "nixbld";
|
||||
experimental-features = [
|
||||
"auto-allocate-uids"
|
||||
"flakes"
|
||||
"nix-command"
|
||||
];
|
||||
};
|
||||
extraOptions = ''
|
||||
# Generated by https://github.com/DeterminateSystems/nix-installer, version 0.11.0.
|
||||
extra-nix-path = nixpkgs=flake:nixpkgs
|
||||
'';
|
||||
};
|
||||
|
||||
services.nix-daemon.enable = true;
|
||||
|
||||
users.users."gene.liverman".home = "/Users/gene.liverman";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue