From e623b83d680d65418a6619c29f7aeeccb3f8e49b Mon Sep 17 00:00:00 2001 From: biscuit Date: Fri, 6 Jun 2025 07:46:05 -0500 Subject: [PATCH] cleaned up --- info.nix | 3 ++- modules/app.nix | 5 ----- nixos/macos/darwin.nix | 8 ++++++-- 3 files changed, 8 insertions(+), 8 deletions(-) delete mode 100644 modules/app.nix 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