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 = {
|
home-manager = {
|
||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
|
|
|
@ -32,6 +32,7 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
install-pycharm = true;
|
install-pycharm = true;
|
||||||
install-goland = true;
|
install-goland = true;
|
||||||
|
install-webstorm = true;
|
||||||
};
|
};
|
||||||
python = {
|
python = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -24,6 +24,11 @@ in
|
||||||
default = false;
|
default = false;
|
||||||
example = true;
|
example = true;
|
||||||
};
|
};
|
||||||
|
install-webstorm = lib.mkOption {
|
||||||
|
type = lib.types.bool;
|
||||||
|
default = false;
|
||||||
|
example = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
environment.systemPackages =
|
environment.systemPackages =
|
||||||
|
@ -33,7 +38,7 @@ in
|
||||||
vscodium
|
vscodium
|
||||||
]
|
]
|
||||||
++ lib.optionals cfg.install-pycharm [ pkgs.jetbrains.pycharm-professional ]
|
++ 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