fix references

This commit is contained in:
Noah Masur 2025-02-25 10:49:57 -05:00
parent 50863e7232
commit eed097f270
No known key found for this signature in database
8 changed files with 28 additions and 25 deletions

View File

@ -354,14 +354,6 @@
modules = [ module ];
}
) aarch64-linux-hosts);
# builtins.mapAttrs buildNixos {
# pkgs = pkgsBySystem.x86_64-linux;
# modules = import ./hosts/x86_64-linux;
# }
# // builtins.mapAttrs buildNixos {
# pkgs = pkgsBySystem.aarch64-linux;
# modules = import ./hosts/aarch64-linux;
# };
# Contains my full Mac system builds, including home-manager
# darwin-rebuild switch --flake .#lookingglass
@ -372,10 +364,6 @@
modules = [ module ];
}
) aarch64-darwin-hosts;
# darwinConfigurations = builtins.mapAttrs buildDarwin {
# pkgs = pkgsBySystem.aarch64-darwin;
# modules = import ./hosts/darwin;
# };
# For quickly applying home-manager settings with:
# home-manager switch --flake .#tempest

View File

@ -34,6 +34,4 @@ rec {
email = "${nmasur.settings.username}@take2games.com";
};
};
identityFile = "/Users/${nmasur.settings.username}/.ssh/id_ed25519";
}

View File

@ -22,6 +22,12 @@ in
# Used for aerc
xdg.enable = lib.mkDefault pkgs.stdenv.isDarwin;
# Add homebrew paths to CLI path
home.sessionPath = [
"/opt/homebrew/bin/"
"/opt/homebrew/opt/trash/bin"
];
home.packages = [
pkgs.noti # Create notifications programmatically
];

View File

@ -24,9 +24,6 @@ in
fi
'';
# Add homebrew paths to CLI path
home.sessionPath = [ "/opt/homebrew/bin/" ];
homebrew = {
enable = true;
onActivation = {

View File

@ -59,7 +59,7 @@ in
};
# User-level settings
activationScripts.postUserActivation.text = ''
system.activationScripts.postUserActivation.text = ''
echo "Show the ~/Library folder"
chflags nohidden ~/Library
'';

View File

@ -15,7 +15,7 @@ in
config = lib.mkIf cfg.enable {
# User-level settings
activationScripts.postUserActivation.text = ''
system.activationScripts.postUserActivation.text = ''
echo "Reduce Menu Bar padding"
defaults write -globalDomain NSStatusItemSelectionPadding -int 6
defaults write -globalDomain NSStatusItemSpacing -int 6

View File

@ -14,7 +14,7 @@ in
config = lib.mkIf cfg.enable {
nmasur.presets = {
nmasur.presets.programs = {
fish = lib.mkDefault true;
homebrew = lib.mkDefault true;
};
@ -27,11 +27,6 @@ in
"notunes" # Don't launch Apple Music with the play button
];
# Add homebrew paths to CLI path
home.sessionPath = [
"/opt/homebrew/opt/trash/bin"
];
# Include home-manager config in nix-darwin
home-manager = {
sharedModules = [ ../../../../home-manager ];

View File

@ -0,0 +1,19 @@
{
config,
lib,
...
}:
{
options = {
identityFile = lib.mkOption {
type = lib.types.path;
description = "Path containing decryption identity.";
default = "/Users/${config.nmasur.settings.username}/.ssh/id_ed25519";
};
};
}