Compare commits
2 Commits
bf074967e5
...
47cc5c881c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
47cc5c881c | ||
|
|
f757727858 |
@@ -24,6 +24,7 @@
|
|||||||
lynx
|
lynx
|
||||||
mediainfo
|
mediainfo
|
||||||
neofetch
|
neofetch
|
||||||
|
nmap
|
||||||
pastel
|
pastel
|
||||||
pdfgrep
|
pdfgrep
|
||||||
pdftk
|
pdftk
|
||||||
@@ -37,10 +38,10 @@
|
|||||||
systemctl-tui
|
systemctl-tui
|
||||||
tldr
|
tldr
|
||||||
unstable.gemini-cli
|
unstable.gemini-cli
|
||||||
|
unstable.gemini-cli
|
||||||
|
unstable.yt-dlp
|
||||||
unstable.yt-dlp
|
unstable.yt-dlp
|
||||||
w3m
|
w3m
|
||||||
which
|
which
|
||||||
unstable.gemini-cli
|
|
||||||
unstable.yt-dlp
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
2
home.nix
2
home.nix
@@ -43,7 +43,7 @@
|
|||||||
./home-modules/pkgs-list/desktop.nix
|
./home-modules/pkgs-list/desktop.nix
|
||||||
./home-modules/pkgs-list/programs.nix
|
./home-modules/pkgs-list/programs.nix
|
||||||
./home-modules/pkgs-list/shell.nix
|
./home-modules/pkgs-list/shell.nix
|
||||||
./home-modules/pnx.nix
|
# ./home-modules/pnx.nix
|
||||||
./home-modules/programming.nix
|
./home-modules/programming.nix
|
||||||
./home-modules/qt.nix
|
./home-modules/qt.nix
|
||||||
./home-modules/rclone.nix
|
./home-modules/rclone.nix
|
||||||
|
|||||||
@@ -12,41 +12,18 @@
|
|||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
openconnect
|
openconnect
|
||||||
networkmanager-openconnect
|
networkmanager-openconnect
|
||||||
|
(pkgs.writeShellScriptBin "connect_to_tuda" ''
|
||||||
|
sudo $(grep ExecStart /etc/systemd/system/openconnect-tuda.service | cut -c 11-)
|
||||||
|
'')
|
||||||
];
|
];
|
||||||
networking.networkmanager = {
|
networking.openconnect = {
|
||||||
plugins = with pkgs; [ networkmanager-openconnect ];
|
package = pkgs.openconnect;
|
||||||
ensureProfiles.profiles = {
|
interfaces = {
|
||||||
"tuda-vpn" = {
|
tuda = {
|
||||||
connection = {
|
autoStart = false;
|
||||||
autoconnect = "false";
|
|
||||||
id = "tuda-vpn";
|
|
||||||
type = "vpn";
|
|
||||||
};
|
|
||||||
ipv4.method = "auto";
|
|
||||||
ipv6 = {
|
|
||||||
addr-gen-mode = "stable-privacy";
|
|
||||||
method = "auto";
|
|
||||||
};
|
|
||||||
vpn = {
|
|
||||||
authtype = "password";
|
|
||||||
autoconnect-flags = "0";
|
|
||||||
certsigs-flags = "0";
|
|
||||||
cookie-flags = "2";
|
|
||||||
disable_udp = "no";
|
|
||||||
enable_csd_trojan = "no";
|
|
||||||
gateway = "vpn.hrz.tu-darmstadt.de";
|
gateway = "vpn.hrz.tu-darmstadt.de";
|
||||||
gateway-flags = "2";
|
|
||||||
gwcert-flags = "2";
|
|
||||||
lasthost-flags = "0";
|
|
||||||
pem_passphrase_fsid = "no";
|
|
||||||
prevent_invalid_cert = "no";
|
|
||||||
protocol = "anyconnect";
|
protocol = "anyconnect";
|
||||||
resolve-flags = "2";
|
user = secrets.email.tuda.tuid;
|
||||||
service-type = "org.freedesktop.NetworkManager.openconnect";
|
|
||||||
stoken_source = "disabled";
|
|
||||||
xmlconfig-flags = "0";
|
|
||||||
password-flags = 0;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user