aboutsummaryrefslogtreecommitdiff
path: root/profiles/darwin.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2025-12-30 12:51:13 -0800
committerFranck Cuny <franck@fcuny.net>2025-12-30 12:51:13 -0800
commit9406f59708c47172fa8f7778638262e2fe29a2ac (patch)
tree51b8756e64cda3d0ff8bafaaedd86924e4670bb1 /profiles/darwin.nix
parentsplit k8s into more chunks (diff)
downloadinfra-9406f59708c47172fa8f7778638262e2fe29a2ac.tar.gz
extract common darwin configurations
Diffstat (limited to 'profiles/darwin.nix')
-rw-r--r--profiles/darwin.nix12
1 files changed, 12 insertions, 0 deletions
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