forked from clan/clan-core
24 lines
710 B
JSON
24 lines
710 B
JSON
{
|
|
"security.workspace.trust.enabled": false,
|
|
"nix.enableLanguageServer": true,
|
|
"nix.serverPath": "nixd",
|
|
"nix.formatterPath": "nixpkgs-fmt",
|
|
"nix.serverSettings": {
|
|
"nixd": {
|
|
"formatting": {
|
|
"command": "nixpkgs-fmt"
|
|
},
|
|
"options": {
|
|
"nixos": {
|
|
"expr": "(let pkgs = import <nixpkgs> { }; in (pkgs.lib.evalModules { modules
|
|
= (import <nixpkgs/nixos/modules/module-list.nix>) ++ [ ({...}: {
|
|
nixpkgs.hostPlatform = builtins.currentSystem;} ) ] ; })).options"
|
|
},
|
|
"home-manager": {
|
|
"expr": "(builtins.getFlake \"github:nix-community/home-manager\").homeConfigurations.<name>.options"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|