-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
21 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,26 @@ | ||
{ | ||
"nix.enableLanguageServer": true, // Enable LSP. | ||
"nix.serverPath": "nixd", // The path to the LSP server executable. | ||
"nixpkgs": { | ||
"expr": "import <nixpkgs> {}", | ||
}, | ||
"rust-analyzer.linkedProjects": [ | ||
"pkgs/install-system/Cargo.toml", | ||
] | ||
], | ||
"nix.formatterPath": "alejandra", | ||
"nix.serverSettings": { | ||
"nixd": { | ||
"formatting": { | ||
"command": [ "alejandra" ] | ||
}, | ||
"options": { | ||
// By default, this entry will be read from `import <nixpkgs> { }`. | ||
// You can write arbitrary Nix expressions here, to produce valid "options" declaration result. | ||
// Tip: for flake-based configuration, utilize `builtins.getFlake` | ||
"nixos": { | ||
"expr": "(builtins.getFlake \"${workspaceFolder}\").nixosConfigurations.sierra-2.options" | ||
}, | ||
// "home-manager": { | ||
// "expr": "(builtins.getFlake \"${workspaceFolder}\").homeConfigurations.<name>.options" | ||
// }, | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,7 +37,7 @@ in | |
zstd | ||
terraform | ||
nixd | ||
nil | ||
alejandra | ||
agenix-rekey | ||
age-plugin-yubikey | ||
age-plugin-fido2-hmac | ||
|