initial commit

This commit is contained in:
2026-07-21 13:13:31 -04:00
commit 2ac6ab0dd5
23 changed files with 2614 additions and 0 deletions
+63
View File
@@ -0,0 +1,63 @@
{ self, pkgs, ... }:
{
# Only use homebrew for casks.
homebrew.enable = true;
nix = {
gc = {
automatic = true;
interval = {
Hour = 3;
Minute = 15;
Weekday = 7;
};
options = "--delete-older-than 30d";
};
optimise = {
automatic = true;
interval = {
Hour = 3;
Minute = 15;
Weekday = 7;
};
};
settings.experimental-features = "nix-command flakes";
};
# Enables Touch ID for sudo prompts.
security.pam.services.sudo_local.touchIdAuth = true;
environment = {
variables = rec {
XDG_CACHE_HOME = "$HOME/.cache";
XDG_CONFIG_HOME = "$HOME/.config";
XDG_DATA_HOME = "$HOME/.local/share";
XDG_STATE_HOME = "$HOME/.local/state";
};
shellAliases = {
l = "ls -alh";
ll = "ls -l";
ls = "ls --color=tty";
ff = "clear;fastfetch";
nb = "nix-build";
nix-rebuild = "sudo darwin-rebuild switch";
};
systemPackages = with pkgs; [
wget
fastfetch
btop
];
};
# Don't touch this unless needed.
system = {
configurationRevision = self.rev or self.dirtyRev or null;
stateVersion = 6;
};
nixpkgs.hostPlatform = "aarch64-darwin";
}