convert graphical folder to modules

This commit is contained in:
Kopatz
2024-04-16 21:43:24 +02:00
parent 9d79d01c5e
commit 409d684b17
17 changed files with 375 additions and 236 deletions

View File

@@ -1,14 +1,23 @@
{ config, pkgs, inputs, lib, ... }:
with lib;
let
cfg = config.kop.graphical.code;
in
{
environment.systemPackages = with pkgs; [
kate
jetbrains.idea-ultimate
insomnia
];
#environment.sessionVariables = {
# DOTNET_ROOT = "${pkgs.dotnet-sdk_7}";
#};
options.kop.graphical.code = {
enable = mkEnableOption "Enables code";
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
kate
jetbrains.idea-ultimate
insomnia
];
#environment.sessionVariables = {
# DOTNET_ROOT = "${pkgs.dotnet-sdk_7}";
#};
};
}