convert graphical folder to modules
This commit is contained in:
@@ -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}";
|
||||
#};
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user