feat: add jetbrains module
This commit is contained in:
parent
b526cfc6f8
commit
f6174bc0ba
4 changed files with 131 additions and 6 deletions
|
|
@ -4,16 +4,23 @@
|
|||
, ...
|
||||
}:
|
||||
|
||||
with lib;
|
||||
let
|
||||
cfg = config.my.profiles.webis;
|
||||
inherit (lib) mkEnableOption mkIf;
|
||||
in
|
||||
|
||||
{
|
||||
options.my.profiles.webis.enable = mkEnableOption "webis profile";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
my.programs.ssh.includeSecrets = [ ../../secrets/webis-ssh.age ];
|
||||
my.programs = {
|
||||
ssh.includeSecrets = [ ../../secrets/webis-ssh.age ];
|
||||
jetbrains = {
|
||||
pycharm.enable = true;
|
||||
pycharm.package = pkgs.jetbrains.pycharm-professional;
|
||||
};
|
||||
};
|
||||
|
||||
age.secrets.webis = {
|
||||
file = ../../secrets/webis.age;
|
||||
name = "webis.ovpn";
|
||||
|
|
@ -25,9 +32,6 @@ in
|
|||
updateResolvConf = true;
|
||||
};
|
||||
};
|
||||
environment.systemPackages = with pkgs; [
|
||||
jetbrains.pycharm-professional
|
||||
];
|
||||
programs.dconf.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue