Something went wrong. Try again.
NixOS / Nix-darwin / Home Manager dotfiles for my devices
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154{ self, ...}:{ flake.modules.darwin.lukemurray = { config, pkgs, ... }: { imports = [ self.modules.darwin.home-manager ];
users.users.lukemurray = { createHome = true; home = "/Users/lukemurray"; shell = pkgs.zsh; packages = with pkgs; [ play-audio gcc # for emacs? unquarantine screen-saver run-ntfy-when-done ] ++ (with pkgs.brewCasks; [ brewCasks."8bitdo-ultimate-software-v2" gimp qlmarkdown steam # tailscale-app ]); };
home-manager.users.lukemurray = { imports = self.homeConfigurations.lukemurray.config._rootModules; };
# [TODO] I long for the day nix-darwin finishes the # migration and I can roll the defaults into the # user definition system.primaryUser = "lukemurray"; system.defaults.dock.persistent-apps = [ # Finder "/System/Applications/Messages.app" "/System/Applications/Mail.app" "/System/Applications/Maps.app" "/System/Applications/FaceTime.app" "/System/Applications/Calendar.app" "/Applications/Pages.app" "/System/Applications/App Store.app" "/System/Applications/System Settings.app" "${config.users.users.lukemurray.home}/Applications/Home Manager Apps/Firefox.app" "${config.users.users.lukemurray.home}/Applications/Home Manager Apps/Emacs.app" "${config.users.users.lukemurray.home}/Applications/Home Manager Apps/Ghostty.app" "/System/Applications/iPhone Mirroring.app" "${config.users.users.lukemurray.home}/Downloads" ]; };
flake.homeConfigurations = self.lib.mkHome "aarch64-darwin" "lukemurray" ( { lib, pkgs, ... }: { imports = with self.modules.homeManager; [ # breaktime cli cloudflare-manager direnv discord emacs firefox ghostty git jujutsu ladybird minecraft neko ng-cli ng-nix pi radicle scrolling ssh vcs wallust zsh ];
programs.radicle.settings.node.alias = "amusingimpala75@finarfin";
vcs = { email = "69653100+amusingimpala75@users.noreply.github.com"; username = "amusingimpala75"; };
home.packages = with pkgs; [ blockbench cogfly bleeding.lumafly ];
targets.darwin = { copyApps.enable = true; linkApps.enable = false;
# See both mynixos.com options for nix-darwin and home-manager, as well as macos-defaults.com # Additionally, `defaults read' will list out current settings # Alternately all settings can be found at ~/Library/Preferences/<app-id>.plist defaults = { "com.apple.dock" = { autohide = true; largesize = 96; magnification = true; mru-spaces = false; orientation = "bottom"; show-recents = false; }; "com.apple.finder" = { AppleShowAllExtensions = true; AppleShowAllFiles = true; # Requires finder to be killed CreateDesktop = false; FXDefaultSearchScope = "SCcf"; FXEnableExtensionChangeWarning = false; # Requires finder to be killed FXPreferredViewStyle = "clmv"; FXRemoveOldTrashItems = false; _FXSortFoldersFirst = false; ShowPathbar = true; ShowStatusBar = true; }; "NSGlobalDomain" = { # AppleInterfaceStyle # This doesn't seem to work InitialKeyRepeat = 10; KeyRepeat = 1; }; }; };
home.activation.load-settings = lib.mkIf pkgs.stdenv.hostPlatform.isDarwin ( lib.hm.dag.entryAfter [ "setDarwinDefaults" ] '' /System/Library/PrivateFrameworks/SystemAdministration.framework/Resources/activatesettings -u '' );
home.stateVersion = "24.05"; } );}