updating module format and additional settings
This commit is contained in:
8
modules/darwin/apps/default.nix
Normal file
8
modules/darwin/apps/default.nix
Normal file
@@ -0,0 +1,8 @@
|
||||
# reference other modules
|
||||
{
|
||||
imports = [
|
||||
./homebrew.nix
|
||||
./nixpackages.nix
|
||||
./services.nix
|
||||
];
|
||||
}
|
||||
32
modules/darwin/apps/homebrew.nix
Normal file
32
modules/darwin/apps/homebrew.nix
Normal file
@@ -0,0 +1,32 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
# Darwin-level Homebrew configuration
|
||||
homebrew = {
|
||||
enable = true;
|
||||
onActivation.cleanup = "uninstall";
|
||||
|
||||
taps = [];
|
||||
brews = [
|
||||
"cowsay"
|
||||
"git"
|
||||
"k9s"
|
||||
"helm"
|
||||
"podman"
|
||||
"podman-compose"
|
||||
];
|
||||
casks = [
|
||||
"1password"
|
||||
"podman-desktop"
|
||||
"teleport-connect"
|
||||
"utm"
|
||||
"localsend"
|
||||
"joplin"
|
||||
];
|
||||
masApps = {
|
||||
"1Password for Safari" = 1569813296;
|
||||
"wireguard" = 1451685025;
|
||||
"wipr" = 1320666476;
|
||||
};
|
||||
};
|
||||
}
|
||||
22
modules/darwin/apps/nixpackages.nix
Normal file
22
modules/darwin/apps/nixpackages.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
vim
|
||||
lens
|
||||
vscode
|
||||
spotify
|
||||
slack
|
||||
kubectl
|
||||
discord
|
||||
_1password-cli
|
||||
brave
|
||||
teleport
|
||||
tenv
|
||||
google-cloud-sdk
|
||||
awscli
|
||||
azure-cli
|
||||
go
|
||||
starship
|
||||
];
|
||||
}
|
||||
7
modules/darwin/apps/services.nix
Normal file
7
modules/darwin/apps/services.nix
Normal file
@@ -0,0 +1,7 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
# Example: Tailscale, other system services
|
||||
services.nix-daemon.enable = true;
|
||||
services.tailscale.enable = true;
|
||||
}
|
||||
Reference in New Issue
Block a user