feat: change nix structure
This commit is contained in:
105
hosts/MBP-Louis.nix
Normal file
105
hosts/MBP-Louis.nix
Normal file
@ -0,0 +1,105 @@
|
||||
{ pkgs, ... }: {
|
||||
# HomeBrew configuration
|
||||
homebrew = {
|
||||
enable = true;
|
||||
casks = [
|
||||
"cyberduck"
|
||||
"iina"
|
||||
"keka"
|
||||
"maccy"
|
||||
"nordvpn"
|
||||
"notion"
|
||||
"swish"
|
||||
"termius"
|
||||
"mattermost"
|
||||
"aldente"
|
||||
"logi-options+"
|
||||
"adobe-creative-cloud"
|
||||
"qbittorrent"
|
||||
"zoom"
|
||||
"zed"
|
||||
"whisky"
|
||||
"visual-studio-code"
|
||||
"vmware-fusion"
|
||||
"pycharm"
|
||||
"cleanshot"
|
||||
"bartender"
|
||||
"chromedriver"
|
||||
"epic-games"
|
||||
"alt-tab"
|
||||
"busycal"
|
||||
"privileges"
|
||||
"jdownloader"
|
||||
"raspberry-pi-imager"
|
||||
"tailscale-app"
|
||||
];
|
||||
|
||||
brews = [
|
||||
"wget"
|
||||
"bear"
|
||||
"cmake"
|
||||
"firebase-cli"
|
||||
"git"
|
||||
"git-flow"
|
||||
"git-lfs"
|
||||
"gnupg"
|
||||
"llvm@18"
|
||||
"gtk+3"
|
||||
"pinentry-mac"
|
||||
"sdl2"
|
||||
"sdl2_image"
|
||||
"sdl2_ttf"
|
||||
"tmux"
|
||||
"tree"
|
||||
"zsh"
|
||||
"yubikey-agent"
|
||||
"pkg-config"
|
||||
"serve"
|
||||
];
|
||||
|
||||
taps = [
|
||||
"hashicorp/tap"
|
||||
"eranif/codelite"
|
||||
"macos-fuse-t/homebrew-cask"
|
||||
];
|
||||
|
||||
onActivation.cleanup = "uninstall";
|
||||
onActivation.autoUpdate = true;
|
||||
onActivation.upgrade = true;
|
||||
};
|
||||
|
||||
# MacOS system configuration
|
||||
security.pam.services.sudo_local.touchIdAuth = true;
|
||||
|
||||
system.defaults = {
|
||||
dock = {
|
||||
autohide = true;
|
||||
orientation = "bottom";
|
||||
show-recents = false;
|
||||
magnification = false;
|
||||
autohide-time-modifier = 0.0;
|
||||
persistent-apps = [
|
||||
"/System/Applications/Launchpad.app"
|
||||
"/System/Applications/Messages.app"
|
||||
"/Applications/Nix Apps/Firefox.app"
|
||||
"/System/Applications/Mail.app"
|
||||
"/Applications/BusyCal.app"
|
||||
"/Applications/Things3.app"
|
||||
"/System/Applications/Music.app"
|
||||
"/Applications/Nix Apps/Discord.app"
|
||||
"/Applications/Zed.app"
|
||||
"/Applications/Visual\\ Studio\\ Code.app"
|
||||
"/Applications/Nix Apps/Warp.app"
|
||||
"/System/Applications/System\\ Settings.app"
|
||||
"/Applications/Privileges.app"
|
||||
];
|
||||
};
|
||||
finder.FXPreferredViewStyle = "Nlsv";
|
||||
SoftwareUpdate.AutomaticallyInstallMacOSUpdates = true;
|
||||
};
|
||||
|
||||
programs.zsh.enable = true;
|
||||
|
||||
system.stateVersion = 5;
|
||||
system.primaryUser = "louisgallet";
|
||||
}
|
Reference in New Issue
Block a user