mirror of
https://github.com/nmasur/dotfiles
synced 2025-02-27 00:02:02 +00:00
fix references
This commit is contained in:
parent
50863e7232
commit
eed097f270
12
flake.nix
12
flake.nix
@ -354,14 +354,6 @@
|
|||||||
modules = [ module ];
|
modules = [ module ];
|
||||||
}
|
}
|
||||||
) aarch64-linux-hosts);
|
) 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
|
# Contains my full Mac system builds, including home-manager
|
||||||
# darwin-rebuild switch --flake .#lookingglass
|
# darwin-rebuild switch --flake .#lookingglass
|
||||||
@ -372,10 +364,6 @@
|
|||||||
modules = [ module ];
|
modules = [ module ];
|
||||||
}
|
}
|
||||||
) aarch64-darwin-hosts;
|
) aarch64-darwin-hosts;
|
||||||
# darwinConfigurations = builtins.mapAttrs buildDarwin {
|
|
||||||
# pkgs = pkgsBySystem.aarch64-darwin;
|
|
||||||
# modules = import ./hosts/darwin;
|
|
||||||
# };
|
|
||||||
|
|
||||||
# For quickly applying home-manager settings with:
|
# For quickly applying home-manager settings with:
|
||||||
# home-manager switch --flake .#tempest
|
# home-manager switch --flake .#tempest
|
||||||
|
@ -34,6 +34,4 @@ rec {
|
|||||||
email = "${nmasur.settings.username}@take2games.com";
|
email = "${nmasur.settings.username}@take2games.com";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
identityFile = "/Users/${nmasur.settings.username}/.ssh/id_ed25519";
|
|
||||||
}
|
}
|
||||||
|
@ -22,6 +22,12 @@ in
|
|||||||
# Used for aerc
|
# Used for aerc
|
||||||
xdg.enable = lib.mkDefault pkgs.stdenv.isDarwin;
|
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 = [
|
home.packages = [
|
||||||
pkgs.noti # Create notifications programmatically
|
pkgs.noti # Create notifications programmatically
|
||||||
];
|
];
|
||||||
|
@ -24,9 +24,6 @@ in
|
|||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# Add homebrew paths to CLI path
|
|
||||||
home.sessionPath = [ "/opt/homebrew/bin/" ];
|
|
||||||
|
|
||||||
homebrew = {
|
homebrew = {
|
||||||
enable = true;
|
enable = true;
|
||||||
onActivation = {
|
onActivation = {
|
||||||
|
@ -59,7 +59,7 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
# User-level settings
|
# User-level settings
|
||||||
activationScripts.postUserActivation.text = ''
|
system.activationScripts.postUserActivation.text = ''
|
||||||
echo "Show the ~/Library folder"
|
echo "Show the ~/Library folder"
|
||||||
chflags nohidden ~/Library
|
chflags nohidden ~/Library
|
||||||
'';
|
'';
|
||||||
|
@ -15,7 +15,7 @@ in
|
|||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
|
|
||||||
# User-level settings
|
# User-level settings
|
||||||
activationScripts.postUserActivation.text = ''
|
system.activationScripts.postUserActivation.text = ''
|
||||||
echo "Reduce Menu Bar padding"
|
echo "Reduce Menu Bar padding"
|
||||||
defaults write -globalDomain NSStatusItemSelectionPadding -int 6
|
defaults write -globalDomain NSStatusItemSelectionPadding -int 6
|
||||||
defaults write -globalDomain NSStatusItemSpacing -int 6
|
defaults write -globalDomain NSStatusItemSpacing -int 6
|
||||||
|
@ -14,7 +14,7 @@ in
|
|||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
|
|
||||||
nmasur.presets = {
|
nmasur.presets.programs = {
|
||||||
fish = lib.mkDefault true;
|
fish = lib.mkDefault true;
|
||||||
homebrew = lib.mkDefault true;
|
homebrew = lib.mkDefault true;
|
||||||
};
|
};
|
||||||
@ -27,11 +27,6 @@ in
|
|||||||
"notunes" # Don't launch Apple Music with the play button
|
"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
|
# Include home-manager config in nix-darwin
|
||||||
home-manager = {
|
home-manager = {
|
||||||
sharedModules = [ ../../../../home-manager ];
|
sharedModules = [ ../../../../home-manager ];
|
||||||
|
19
platforms/nix-darwin/modules/secrets.nix
Normal file
19
platforms/nix-darwin/modules/secrets.nix
Normal 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";
|
||||||
|
};
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user