mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2024-11-26 08:33:12 +01:00
Initial Test With Making PyCharm & Python Optional
This commit is contained in:
parent
4815bf0a45
commit
30ac55f97f
@ -19,6 +19,7 @@
|
||||
./nvidia.nix
|
||||
./packages.nix
|
||||
./polkit.nix
|
||||
./python.nix
|
||||
./printer.nix
|
||||
./services.nix
|
||||
./steam.nix
|
||||
|
@ -16,9 +16,8 @@ in {
|
||||
v4l-utils ydotool wl-clipboard socat cowsay lsd lshw
|
||||
pkg-config meson hugo gnumake ninja go nodejs symbola
|
||||
noto-fonts-color-emoji material-icons brightnessctl
|
||||
toybox virt-viewer jetbrains.pycharm-community-bin
|
||||
swappy ripgrep appimage-run networkmanagerapplet
|
||||
(pkgs.python3.withPackages my-python-packages)
|
||||
toybox virt-viewer swappy ripgrep appimage-run
|
||||
networkmanagerapplet
|
||||
];
|
||||
|
||||
programs.steam.gamescopeSession.enable = true;
|
||||
|
11
config/system/python.nix
Normal file
11
config/system/python.nix
Normal file
@ -0,0 +1,11 @@
|
||||
{ pkgs, config, lib, ... }:
|
||||
|
||||
let
|
||||
inherit (import ../../options.nix) python;
|
||||
in lib.mkIf (python == true) {
|
||||
environment.systemPackages = with pkgs; [
|
||||
jetbrains.pycharm-community-bin
|
||||
(pkgs.python3.withPackages my-python-packages)
|
||||
];
|
||||
|
||||
}
|
@ -62,4 +62,7 @@ in {
|
||||
alacritty = true;
|
||||
kitty = false;
|
||||
|
||||
# Enable Python & PyCharm
|
||||
python = false;
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user