diff --git a/info.nix b/info.nix index 706926f..7f96300 100644 --- a/info.nix +++ b/info.nix @@ -8,7 +8,7 @@ allowUnfree = true; - termFont = "Monolisa"; # e.g., JetBrainsMono Nerd Font + termFont = "JetBrainsMono Nerd Font"; # e.g., JetBrainsMono Nerd Font shellAliases = { ll = "ls -l"; @@ -27,6 +27,7 @@ trustedUsers = [ "lsoriano" "@groups" + "biscuit" ]; buildMachines = [ diff --git a/modules/app.nix b/modules/app.nix deleted file mode 100644 index fb8db9a..0000000 --- a/modules/app.nix +++ /dev/null @@ -1,5 +0,0 @@ -{pkgs, ...}: let - info = import ../info.nix; -in { - environment.systemPackages = info.apps pkgs; -} diff --git a/nixos/macos/darwin.nix b/nixos/macos/darwin.nix index b837341..a262866 100644 --- a/nixos/macos/darwin.nix +++ b/nixos/macos/darwin.nix @@ -1,4 +1,8 @@ -{pkgs, ...}: { +{ + pkgs, + trustedUsers, + ... +}: { # List packages installed in system profile. To search by name, run: # $ nix-env -qaP | grep wget environment.systemPackages = [pkgs.vim]; @@ -10,7 +14,7 @@ # Necessary for using flakes on this system. nix.settings.experimental-features = "nix-command flakes"; - nix.settings.trusted-users = ["@groups" "biscuit"]; + nix.settings.trusted-users = trustedUsers; # Create /etc/zshrc that loads the nix-darwin environment. programs.zsh.enable = true; # default shell on catalina