added webstorm and fixed nix path
This commit is contained in:
parent
9624cdedd6
commit
092f8949d5
3 changed files with 12 additions and 4 deletions
|
@ -143,8 +143,10 @@
|
|||
};
|
||||
};
|
||||
|
||||
nix.nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
|
||||
|
||||
nix = {
|
||||
nixPath = [ "nixpkgs=${inputs.nixpkgs.outPath}" ];
|
||||
registry.nixpkgs.flake = inputs.nixpkgs;
|
||||
};
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
enable = true;
|
||||
install-pycharm = true;
|
||||
install-goland = true;
|
||||
install-webstorm = true;
|
||||
};
|
||||
python = {
|
||||
enable = true;
|
||||
|
|
|
@ -24,6 +24,11 @@ in
|
|||
default = false;
|
||||
example = true;
|
||||
};
|
||||
install-webstorm = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
example = true;
|
||||
};
|
||||
};
|
||||
config = lib.mkIf cfg.enable {
|
||||
environment.systemPackages =
|
||||
|
@ -33,7 +38,7 @@ in
|
|||
vscodium
|
||||
]
|
||||
++ lib.optionals cfg.install-pycharm [ pkgs.jetbrains.pycharm-professional ]
|
||||
++ lib.optionals cfg.install-goland [ pkgs.jetbrains.goland ];
|
||||
|
||||
++ lib.optionals cfg.install-goland [ pkgs.jetbrains.goland ]
|
||||
++ lib.optionals cfg.install-webstorm [ pkgs.jetbrains.webstorm ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue