1
0

add nix settings and dir colors for MacOS

This commit is contained in:
2025-09-21 15:44:26 -07:00
parent 91a1aa83f7
commit c690d8eb28
5 changed files with 17 additions and 0 deletions

View File

@@ -2,4 +2,11 @@
{
# Manage /etc/shells and place add nix version of bash
environment.shells = [ pkgs.bash ];
# Enable ls colors
environment.variables = {
CLICOLOR = "1";
LSCOLORS = "ExFxBxDxCxegedabagacad";
};
environment.shellAliases.ls = "ls --color";
}

6
system/macos/nix.nix Normal file
View File

@@ -0,0 +1,6 @@
{ config, lib, ... }:
{
nix.settings = {
trusted-users = lib.mkForce [ "@admin" "${config.system.primaryUser}" ];
};
}