added jetbrains IDEs
This commit is contained in:
parent
7a3c74421c
commit
e255edd80c
5 changed files with 16 additions and 0 deletions
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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
|
||||||
|
|
8
modules/default/common/desktop/dev.nix
Normal file
8
modules/default/common/desktop/dev.nix
Normal 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
|
||||||
|
];
|
||||||
|
}
|
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue