forked from clan/clan-core
editor: improve nixpkgs option completions
This commit is contained in:
parent
dbaa26ccaa
commit
a0b0e1a0ac
@ -10,7 +10,9 @@
|
|||||||
},
|
},
|
||||||
"options": {
|
"options": {
|
||||||
"nixos": {
|
"nixos": {
|
||||||
"expr": "(builtins.getFlake \"github:nixos/nixpkgs\").nixosConfigurations.<name>.options"
|
"expr": "(let pkgs = import <nixpkgs> { }; in (pkgs.lib.evalModules { modules
|
||||||
|
= (import <nixpkgs/nixos/modules/module-list.nix>) ++ [ ({...}: {
|
||||||
|
nixpkgs.hostPlatform = builtins.currentSystem;} ) ] ; })).options"
|
||||||
},
|
},
|
||||||
"home-manager": {
|
"home-manager": {
|
||||||
"expr": "(builtins.getFlake \"github:nix-community/home-manager\").homeConfigurations.<name>.options"
|
"expr": "(builtins.getFlake \"github:nix-community/home-manager\").homeConfigurations.<name>.options"
|
||||||
|
Loading…
Reference in New Issue
Block a user