Add devenv and jetbrains IDE
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.os.shell.devenv;
|
||||
in
|
||||
{
|
||||
options.os.shell.devenv = {
|
||||
enable = mkEnableOption "System devenv service";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
devenv
|
||||
];
|
||||
|
||||
};
|
||||
}
|
||||
@@ -1,6 +1,10 @@
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
nix.settings.trusted-users = [
|
||||
"root"
|
||||
"alistreaza"
|
||||
];
|
||||
nix.settings.experimental-features = "nix-command flakes";
|
||||
|
||||
# System services
|
||||
@@ -27,6 +31,9 @@
|
||||
os.virtualisation.cuda.enable = true;
|
||||
os.virtualisation.podman.enable = true;
|
||||
|
||||
# Dev
|
||||
os.shell.devenv.enable = true;
|
||||
|
||||
# System version
|
||||
system.stateVersion = "25.11";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user