This commit is contained in:
Ingolf Wagner 2023-07-05 20:43:59 +02:00
commit dadd3ef367
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
9 changed files with 121 additions and 70 deletions

View file

@ -11,6 +11,7 @@
./network-wireguard.nix
./network-tinc.nix
# ./network-tinc-retiolum.nix # make sure no service is open for this vpn!
./hass.nix
./hass-zigbee2mqtt.nix

View file

@ -0,0 +1,13 @@
{ config, ... }:
{
sops.secrets.tinc_retiolum_ed25519_key = { };
sops.secrets.tinc_retiolum_rsa_key = { };
networking.retiolum.port = 720;
networking.retiolum.nodename = "centari";
services.tinc.networks.retiolum = {
ed25519PrivateKeyFile = config.sops.secrets.tinc_retiolum_ed25519_key.path;
rsaPrivateKeyFile = config.sops.secrets.tinc_retiolum_rsa_key.path;
};
}

View file

@ -8,6 +8,7 @@
./hardware-configuration.nix
./packages.nix
./packages-development.nix
./syncthing.nix
./cups.nix
./tinc.nix

View file

@ -0,0 +1,57 @@
{ pkgs, lib, ... }:
{
environment.systemPackages = with pkgs; let
# to make copilot work
# jetbrains.pycharm-professional
fhsPyCharm = pkgs.buildFHSUserEnv {
name = "pycharm";
targetPkgs = pkgs: (with pkgs; [
black
isort
jetbrains.pycharm-professional
python311
pipenv
zlib # needed for NumPy
nodejs
]);
runScript = "pycharm-professional";
};
# jetbrains.datagrip
fhsDataGrip = pkgs.buildFHSUserEnv {
name = "datagrip";
targetPkgs = pkgs: (with pkgs; [
jetbrains.datagrip
]);
runScript = "datagrip";
};
in
[
# rust development environment
rustup
jetbrains.clion
# general
jetbrains.idea-ultimate
#vscode
fhsDataGrip
fhsPyCharm
(pkgs.makeDesktopItem {
name = "pycharm";
desktopName = "Python IDE";
exec = "${fhsPyCharm}/bin/pycharm";
terminal = false;
})
# python
python3Full
pipenv
];
}

View file

@ -73,19 +73,6 @@ in
-t "#"
'')
# rust development environment
rustup
jetbrains.clion
# general
jetbrains.idea-ultimate
#vscode
# python
python3Full
jetbrains.pycharm-professional
jetbrains.datagrip
# matrix clients
# --------------
#element-desktop
@ -106,6 +93,7 @@ in
# };
#}))
sops
steam-run