Working nix-darwin config from this Mac
This commit is contained in:
65
configuration.nix
Normal file
65
configuration.nix
Normal file
@@ -0,0 +1,65 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./cli-tools.nix
|
||||
./mac-settings.nix
|
||||
./pkg-installs.nix
|
||||
./archive-installs.nix
|
||||
];
|
||||
|
||||
nixpkgs.hostPlatform = "aarch64-darwin";
|
||||
|
||||
nix.settings.experimental-features = "nix-command flakes";
|
||||
|
||||
system.stateVersion = 6;
|
||||
system.primaryUser = "briannelson";
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
exif
|
||||
exiftool
|
||||
ffmpeg
|
||||
flac
|
||||
git
|
||||
helix
|
||||
librewolf
|
||||
tea
|
||||
yt-dlp
|
||||
];
|
||||
|
||||
homebrew = {
|
||||
enable = true;
|
||||
onActivation = {
|
||||
autoUpdate = true;
|
||||
cleanup = "none";
|
||||
};
|
||||
|
||||
brews = [
|
||||
"bun"
|
||||
"defaultbrowser"
|
||||
"harper"
|
||||
"nicotine-plus"
|
||||
"rust"
|
||||
"ykman"
|
||||
];
|
||||
|
||||
casks = [
|
||||
"bitwarden"
|
||||
"cap"
|
||||
"discord"
|
||||
"docker-desktop"
|
||||
"harper-desktop"
|
||||
"libreoffice"
|
||||
"nextcloud"
|
||||
"obsidian"
|
||||
"protonvpn"
|
||||
"rustdesk"
|
||||
"signal"
|
||||
"task-manager-tmog"
|
||||
"twingate"
|
||||
"vlc"
|
||||
"vscodium"
|
||||
"firefox"
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user