This commit is contained in:
2025-03-13 22:05:42 -04:00
parent 1f9bd7efb9
commit 5f63bea667
17 changed files with 644 additions and 264 deletions

View File

@@ -6,29 +6,34 @@
enable = true;
onActivation.cleanup = "uninstall";
taps = [];
brews = [
"cowsay"
"argoproj/homebrew-tap/kubectl-argo-rollouts"
"gh"
"git"
"k9s"
"helm"
"podman"
"podman-compose"
"k9s"
"ansible"
];
casks = [
"1password"
"podman-desktop"
"cursor"
"elgato-wave-link"
"ghostty"
"joplin"
"localsend"
"logi-options+"
"orbstack"
"teleport-connect"
"utm"
"localsend"
"joplin"
"ghostty"
"vivaldi"
];
masApps = {
"1Password for Safari" = 1569813296;
"pairvpn" = 1347012179;
"tailscale" = 1475387142;
"Windows App" = 1295203466;
"wireguard" = 1451685025;
"wipr" = 1320666476;
"tailscale" = 1475387142;
};
};
}

View File

@@ -2,22 +2,6 @@
{
environment.systemPackages = with pkgs; [
_1password-cli
awscli
azure-cli
brave
discord
go
google-cloud-sdk
kubectl
krew
lens
slack
spotify
starship
teleport
tenv
vim
vscode
];
}

View File

@@ -2,6 +2,6 @@
{
# Example: Tailscale, other system services
services.nix-daemon.enable = true;
# services.nix-daemon.enable = true;
# services.tailscale.enable = false;
}

View File

@@ -1,7 +1,7 @@
{ config, pkgs, ... }:
{
# Enable TouchID for PAM auth: you could also place security/pam or other service configs here:
security.pam.enableSudoTouchIdAuth = true;
security.pam.services.sudo_local.touchIdAuth = true;
system.defaults.alf = {
allowsignedenabled = 1; # Allows any signed Application to accept incoming requests. Default is true. 0 = disabled 1 = enabled

View File

@@ -1,13 +1,18 @@
{ config, pkgs, lib, ... }:
{ config, pkgs, lib, username, ... }:
let
homeDirectory = "/Users/${username}";
in
{
# If you also want to do e.g. Dock preferences from the same user-level file:
system.defaults.dock = {
autohide = true;
orientation = "bottom";
persistent-apps = [
/Applications/Safari.app
/Applications/Ghostty.app
"/${pkgs.vscode}/Applications/Visual Studio Code.app" # Use the nixpkgs path to the app for apps installed via nix. This will automatically use the latest nix store path.
"/Applications/Zen Browser.app"
"/Applications/Vivaldi.app"
"/Applications/Ghostty.app"
"/Applications/Cursor.app"
# Use the nixpkgs path to the app for apps installed via nix. This will automatically use the latest nix store path.
"/${pkgs.lens}/Applications/Lens.app"
"/${pkgs.slack}/Applications/Slack.app"
"/${pkgs.discord}/Applications/Discord.app"
@@ -16,16 +21,16 @@
# Add your persistent apps here
];
persistent-others = [
"~/code"
"~/Downloads"
"${homeDirectory}/code"
"${homeDirectory}/Downloads"
"${homeDirectory}/Applications/Home Manager Apps"
# Add your persistent others here
];
show-recents = false;
tilesize = 36; # Set the icon size on the dock; default is 64
};
system.defaults.NSGlobalDomain = {
system.defaults.NSGlobalDomain = {
AppleInterfaceStyle = "Dark"; # "Dark" or "Light" - Darkmode all the things
# Add more NSGlobalDomain settings here
};
@@ -34,5 +39,5 @@ system.defaults.NSGlobalDomain = {
GuestEnabled = false; # Disable guest account
LoginwindowText = "Super Awesome Mac"; # Set login window text
# Add more loginwindow settings here
};
};
}

View File

@@ -14,7 +14,7 @@
};
system.keyboard = {
swapLeftCtrlAndFn = true; # Swap left control and function keys
swapLeftCtrlAndFn = false; # Swap left control and function keys
enableKeyMapping = true; # Enable key mapping
# Set up your keyboard preferences here
};