stable?
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
# Managed VS Code Extensions (The "Clean" Way)
|
||||
programs.vscode = {
|
||||
enable = true;
|
||||
package = pkgs.vscode-fhs;
|
||||
profiles.default = {
|
||||
userSettings = builtins.fromJSON (builtins.readFile ./config.vscode.settings.json);
|
||||
extensions = with inputs.nix-vscode-extensions.extensions.${pkgs.system}.vscode-marketplace; [
|
||||
@@ -29,6 +30,9 @@
|
||||
redhat.vscode-xml
|
||||
vscode-icons-team.vscode-icons
|
||||
typescriptteam.native-preview
|
||||
mkhl.direnv
|
||||
oxc.oxc-vscode
|
||||
biomejs.biome
|
||||
];
|
||||
};
|
||||
};
|
||||
@@ -47,7 +51,7 @@
|
||||
];
|
||||
|
||||
initContent = ''
|
||||
export SSH_AUTH_SOCK=~/Library/Group\ Containers/2BUA8C4S2C.com.1password/t/agent.sock
|
||||
export SSH_AUTH_SOCK=~/.1password/agent.sock
|
||||
|
||||
# Auto-allow direnv for directories with flake.nix
|
||||
auto_allow_direnv() {
|
||||
@@ -73,15 +77,15 @@
|
||||
|
||||
home.sessionVariables = {
|
||||
# Points to the Homebrew location mentioned in your caveat
|
||||
NPM_CONFIG_PREFIX = "/usr/local/Projects/.npm-global/.npm-global";
|
||||
NPM_CONFIG_PREFIX = "/mnt/Projects/.npm-global/.npm-global";
|
||||
};
|
||||
|
||||
home.sessionPath = [
|
||||
"/usr/local/Projects/.npm-global/bin"
|
||||
"/mnt/Projects/.npm-global/bin"
|
||||
];
|
||||
|
||||
home.file.".npmrc".text = ''
|
||||
prefix=/usr/local/Projects/.npm-global/.npm-global
|
||||
prefix=/mnt/Projects/.npm-global/.npm-global
|
||||
'' ;
|
||||
|
||||
home.file.".config/1Password/ssh/agent.toml".source = ./config.agent.toml;
|
||||
@@ -96,7 +100,7 @@
|
||||
};
|
||||
"*" = {
|
||||
extraOptions = {
|
||||
"IdentityAgent" = "\"~/Library/Group\ Containers/2BUA8C4S2C.com.1password/t/agent.sock\"";
|
||||
"IdentityAgent" = "~/.1password/agent.sock";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user