From 9406f59708c47172fa8f7778638262e2fe29a2ac Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Tue, 30 Dec 2025 12:51:13 -0800 Subject: extract common darwin configurations --- profiles/darwin.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'profiles') diff --git a/profiles/darwin.nix b/profiles/darwin.nix index 8b260f5..dadc7b9 100644 --- a/profiles/darwin.nix +++ b/profiles/darwin.nix @@ -1,6 +1,7 @@ { lib, pkgs, ... }: { fonts.packages = with pkgs; [ + dejavu_fonts source-code-pro ]; @@ -42,6 +43,17 @@ system.primaryUser = "fcuny"; + environment.shells = [ pkgs.fish ]; + + programs.fish.enable = true; + programs.fish.shellInit = '' + # Nix + if test -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.fish' + source '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.fish' + end + # End Nix + ''; + nix = { extraOptions = '' tarball-ttl = 900 -- cgit v1.2.3