Compare commits

..

2 commits

Author SHA1 Message Date
092f8949d5 added webstorm and fixed nix path 2024-12-21 17:57:34 +01:00
9624cdedd6 added copilot 2024-12-21 17:33:53 +01:00
4 changed files with 13 additions and 4 deletions
homeManagerModules/programs
hosts
nixosModules/dev

View file

@ -40,6 +40,7 @@ in
rust-lang.rust-analyzer rust-lang.rust-analyzer
hashicorp.terraform hashicorp.terraform
svelte.svelte-vscode svelte.svelte-vscode
github.copilot
] ]
++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [ ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
{ {

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