added webstorm and fixed nix path

This commit is contained in:
Jakub Kropáček 2024-12-21 17:57:34 +01:00
parent 9624cdedd6
commit 092f8949d5
3 changed files with 12 additions and 4 deletions

View file

@ -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;

View file

@ -32,6 +32,7 @@
enable = true;
install-pycharm = true;
install-goland = true;
install-webstorm = true;
};
python = {
enable = true;

View file

@ -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 ];
};
}