Upgrading to 25.05

This commit is contained in:
Gene Liverman 2025-06-11 09:47:46 -04:00 committed by Gene Liverman
parent ee404a2e71
commit 4696a87825
11 changed files with 126 additions and 96 deletions

View file

@ -1,4 +1,6 @@
{ pkgs, hostname, username, ... }: {
system.primaryUser = username;
environment = {
shells = with pkgs; [ bash zsh ];
pathsToLink = [
@ -125,8 +127,6 @@
zsh.enable = true;
};
services.nix-daemon.enable = true;
users.users.${username} = {
home = "/Users/${username}";
shell = pkgs.zsh;

View file

@ -1,7 +1,7 @@
{ username, ... }: {
# dawrwin-specific shell config
programs.zsh = {
initExtra = ''
initContent = ''
function otpon() {
osascript -e 'tell application "yubiswitch" to KeyOn'
}
@ -17,8 +17,8 @@
oh-my-zsh.plugins = [ "macos" ];
shellAliases = {
currentwifi = "networksetup -getairportnetwork en0 |cut -d ':' -f2- | cut -d ' ' -f2-";
nixdiff = "brew outdated && brew outdated --cask && mas outdated && cd ~/repos/dots && darwin-rebuild build --flake . && nvd diff /run/current-system result";
nixup = "darwin-rebuild switch --flake ~/repos/dots";
nixdiff = "brew outdated && brew outdated --cask && mas outdated && cd ~/repos/dots && sudo darwin-rebuild build --flake . && nvd diff /run/current-system result";
nixup = "sudo darwin-rebuild switch --flake ~/repos/dots";
uwgconnect = "networksetup -setairportnetwork en0 SecureWest";
uwgforget = "networksetup -removepreferredwirelessnetwork en0 SecureWest";
ykey = "pkill -9 gpg-agent && source ~/.zshrc; ssh-add -L";

View file

@ -77,4 +77,6 @@
"Xcode" = 497799835;
};
};
security.pam.services.sudo_local.enable = false;
}