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 = { home-manager = {
useGlobalPkgs = true; useGlobalPkgs = true;
useUserPackages = true; useUserPackages = true;

View file

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

View file

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