mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 09:27:44 -04:00
Relocated & split up darwin & nixos modules
I broke out host specific bits from the configuration that should be common to all hosts of a given type.
This commit is contained in:
parent
7d7a958da9
commit
067ab7a012
10 changed files with 243 additions and 220 deletions
|
|
@ -1,133 +0,0 @@
|
|||
{ pkgs, ... }: let
|
||||
user = "gene.liverman";
|
||||
in {
|
||||
system.stateVersion = 4;
|
||||
|
||||
environment = {
|
||||
shells = with pkgs; [ bash zsh ];
|
||||
loginShell = pkgs.zsh;
|
||||
pathsToLink = [
|
||||
"/Applications"
|
||||
"/share/zsh"
|
||||
];
|
||||
systemPackages = with pkgs; [
|
||||
coreutils
|
||||
chart-testing
|
||||
hugo
|
||||
kopia
|
||||
kubectx
|
||||
mas
|
||||
nmap
|
||||
nodejs
|
||||
nodePackages.npm
|
||||
openjdk
|
||||
python2
|
||||
];
|
||||
};
|
||||
|
||||
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"
|
||||
"ffmpeg"
|
||||
"firefox-profile-switcher-connector"
|
||||
"helm"
|
||||
"kubernetes-cli"
|
||||
];
|
||||
casks = [
|
||||
"1password"
|
||||
"1password-cli"
|
||||
"amethyst"
|
||||
"angry-ip-scanner"
|
||||
"asana"
|
||||
"audacity"
|
||||
"balenaetcher"
|
||||
"boinc"
|
||||
"cakebrew"
|
||||
"discord"
|
||||
"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-agent"
|
||||
"puppet-bolt"
|
||||
"qmk-toolbox"
|
||||
"raycast"
|
||||
"signal"
|
||||
"slack"
|
||||
"tailscale"
|
||||
"thunderbird"
|
||||
# "tunnelblick"
|
||||
"vagrant"
|
||||
"vivaldi"
|
||||
"virtualbox"
|
||||
"vlc"
|
||||
"whalebird"
|
||||
"zenmap"
|
||||
"zoom"
|
||||
];
|
||||
masApps = {
|
||||
"1Password for Safari" = 1569813296;
|
||||
"BetterSnapTool" = 417375580;
|
||||
"Home Assistant" = 1099568401;
|
||||
"HomeCam" = 1292995895;
|
||||
"Keeper Password Manager" = 414781829;
|
||||
"MeetingBar" = 1532419400;
|
||||
"Microsoft Remote Desktop" = 1295203466;
|
||||
"MQTT Explorer" = 1455214828;
|
||||
"Telegram" = 747648890;
|
||||
"WhatsApp Messenger" = 310633997;
|
||||
};
|
||||
};
|
||||
|
||||
nix = {
|
||||
settings = {
|
||||
bash-prompt-prefix = "(nix:$name)\040";
|
||||
build-users-group = "nixbld";
|
||||
experimental-features = [
|
||||
"auto-allocate-uids"
|
||||
"flakes"
|
||||
"nix-command"
|
||||
];
|
||||
trusted-users = [ "@admin" "${user}" ];
|
||||
};
|
||||
extraOptions = ''
|
||||
# Generated by https://github.com/DeterminateSystems/nix-installer, version 0.11.0.
|
||||
extra-nix-path = nixpkgs=flake:nixpkgs
|
||||
'';
|
||||
};
|
||||
|
||||
programs.zsh.enable = true;
|
||||
|
||||
services.nix-daemon.enable = true;
|
||||
|
||||
users.users.${user} = {
|
||||
home = "/Users/${user}";
|
||||
shell = pkgs.zsh;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue