64 lines
1.1 KiB
Nix
64 lines
1.1 KiB
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
nixpkgs.hostPlatform = "aarch64-darwin";
|
|
|
|
nix.enable = false;
|
|
|
|
nix.settings.experimental-features = "nix-command flakes";
|
|
|
|
system.stateVersion = 6;
|
|
system.primaryUser = "briannelson";
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
ffmpeg
|
|
flac
|
|
helix
|
|
tea
|
|
yt-dlp
|
|
];
|
|
|
|
homebrew = {
|
|
enable = true;
|
|
onActivation = {
|
|
autoUpdate = true;
|
|
cleanup = "none";
|
|
};
|
|
|
|
brews = [
|
|
"bun"
|
|
"harper"
|
|
];
|
|
|
|
casks = [
|
|
"bitwarden"
|
|
"cap"
|
|
"discord"
|
|
"harper-desktop"
|
|
"librewolf"
|
|
"nextcloud"
|
|
"protonvpn"
|
|
"rustdesk"
|
|
"signal"
|
|
"twingate"
|
|
"vlc"
|
|
"vscodium"
|
|
"firefox"
|
|
];
|
|
};
|
|
|
|
environment.shellAliases = {
|
|
yt = "yt-dlp";
|
|
ll = "ls -la";
|
|
};
|
|
|
|
environment.etc."yt-dlp.conf".text = ''
|
|
-o /Users/briannelson/Downloads/yt-dlp/%(title)s.%(ext)s
|
|
--no-mtime
|
|
--restrict-filenames
|
|
--embed-thumbnails
|
|
--embed-metadata
|
|
--format "bestvideo[height<=1080]+bestaudio/best[height<=1080]"
|
|
--merge-output-format mp4
|
|
'';
|
|
} |