nixfiles/systems/sumireko.nix
2023-03-09 15:43:39 -08:00

89 lines
1.6 KiB
Nix
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

_: let
hostConfig = {
tree,
pkgs,
...
}: {
imports = with tree; [
kat.work
darwin.distributed
];
security.pam.enableSudoTouchIdAuth = true;
distributed.systems.renko.preference = 5;
environment.systemPackages = with pkgs; [
fd # fd, better fine!
ripgrep # rg, better grep!
go # Required for pulumi
gotools
go-outline
gocode
gopkgs
gocode-gomod
godef
golint
gopls
pulumi-bin # Infrastructure as code
deadnix # dead-code scanner
alejandra # code formatter
statix # anti-pattern finder
deploy-rs.deploy-rs # deployment system
rnix-lsp # vscode nix extensions
terraform # terraform
];
homebrew = {
brewPrefix = "/opt/homebrew/bin";
brews = [
"gnupg"
"pinentry-mac"
"awscurl"
"pandoc"
"helm"
];
casks = [
"utm"
"discord"
"barrier"
"mullvadvpn"
"bitwarden"
"deluge"
"telegram-desktop"
"spotify"
"element"
"signal"
"brave-browser"
"disk-inventory-x"
"dozer"
"devtoys"
"cyberduck"
"docker"
"pycharm-ce"
"slack"
"boop"
"obsidian"
"contexts"
"rectangle"
];
taps = [
"pulumi/tap"
];
masApps = {
Tailscale = 1475387142;
Dato = 1470584107;
Lungo = 1263070803;
"Battery Indicator" = 1206020918;
};
};
system.stateVersion = 4;
};
in {
arch = "aarch64";
type = "macOS";
modules = [
hostConfig
];
}