added jetbrains IDEs

This commit is contained in:
willifan 2025-01-04 00:44:40 +01:00
parent 7a3c74421c
commit e255edd80c
5 changed files with 16 additions and 0 deletions

View file

@ -12,6 +12,7 @@
desktop = { desktop = {
enable = true; enable = true;
dev.enable = true;
windowManager = "niri-session"; windowManager = "niri-session";
hyprland.enable = false; hyprland.enable = false;
}; };

View file

@ -10,6 +10,7 @@
desktop = { desktop = {
enable = true; enable = true;
dev.enable = true;
emulation.enable = true; emulation.enable = true;
hyprlock.enable = false; hyprlock.enable = false;
hypridle.enable = false; hypridle.enable = false;

View file

@ -4,6 +4,7 @@
./applications.nix ./applications.nix
./autostart.nix ./autostart.nix
./boot.nix ./boot.nix
./dev.nix
./keyboard.nix ./keyboard.nix
./nfs-client.nix ./nfs-client.nix
./nix-ld.nix ./nix-ld.nix

View file

@ -0,0 +1,8 @@
{ lib, config, pkgs, ... }:
lib.mkIf config.desktop.dev.enable {
environment.systemPackages = with pkgs; [
jetbrains.rust-rover
jetbrains.pycharm-community-bin
];
}

View file

@ -13,6 +13,11 @@
type = lib.types.bool; type = lib.types.bool;
}; };
dev.enable = lib.mkOption {
default = false;
type = lib.types.bool;
};
windowManager = lib.mkOption { windowManager = lib.mkOption {
default = "Hyprland"; default = "Hyprland";
type = lib.types.str; type = lib.types.str;