Compare commits
No commits in common. "03c4f8ca88f077db6a9957d5926d0b0488c35d18" and "08ca7edf699cfbb33237d5f7a8729ce62286547f" have entirely different histories.
03c4f8ca88
...
08ca7edf69
@ -1,81 +0,0 @@
|
|||||||
{
|
|
||||||
lib,
|
|
||||||
stdenv,
|
|
||||||
fetchurl,
|
|
||||||
autoPatchelfHook,
|
|
||||||
dpkg,
|
|
||||||
|
|
||||||
cups,
|
|
||||||
gtkmm3,
|
|
||||||
icu74,
|
|
||||||
krb5,
|
|
||||||
makeWrapper,
|
|
||||||
openssl,
|
|
||||||
pango,
|
|
||||||
python312,
|
|
||||||
xcb-util-cursor,
|
|
||||||
xorg,
|
|
||||||
}:
|
|
||||||
|
|
||||||
let
|
|
||||||
packageId = "scrt_ubuntu2464_deb_963";
|
|
||||||
in stdenv.mkDerivation rec {
|
|
||||||
pname = "securecrt";
|
|
||||||
version = "9.6.3";
|
|
||||||
|
|
||||||
src = fetchurl {
|
|
||||||
url = "https://www.vandyke.com/cgi-bin/download_1.php";
|
|
||||||
name = "${pname}-${version}.deb";
|
|
||||||
curlOpts = "-X POST --data 'pid=${packageId}&export_check=accept&country=no&su";
|
|
||||||
sha256 = "sha256-PsFuxJ7H0rJCWWi+rvzrlRUJlp9R4MG14d883/kl9Lo=";
|
|
||||||
};
|
|
||||||
|
|
||||||
unpackCmd = "dpkg -x $curSrc source";
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
|
||||||
dpkg
|
|
||||||
autoPatchelfHook
|
|
||||||
];
|
|
||||||
|
|
||||||
buildInputs = [
|
|
||||||
cups
|
|
||||||
gtkmm3
|
|
||||||
icu74
|
|
||||||
krb5
|
|
||||||
makeWrapper
|
|
||||||
openssl
|
|
||||||
pango
|
|
||||||
python312
|
|
||||||
xcb-util-cursor
|
|
||||||
xorg.xcbutilkeysyms
|
|
||||||
xorg.xcbutilwm
|
|
||||||
];
|
|
||||||
|
|
||||||
dontConfigure = true;
|
|
||||||
dontBuild = true;
|
|
||||||
dontWrapQTApps = true;
|
|
||||||
|
|
||||||
installPhase = ''
|
|
||||||
runhook preInstall
|
|
||||||
|
|
||||||
mkdir -p "$out"
|
|
||||||
cp -R usr/* "$out/"
|
|
||||||
wrapProgram "$out/bin/SecureCRT" --set QT_QPA_PLATFORM_PLUGIN_PATH "$out/lib/scrt/plugins/platforms"
|
|
||||||
|
|
||||||
runhook postInstall
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
homepage = "https://www.vandyke.com/products/securecrt/unix.html";
|
|
||||||
description = "Terminal emulator for computing professionals, with advanced session management";
|
|
||||||
license = {
|
|
||||||
free = false;
|
|
||||||
fullName = "Unknown / Custom";
|
|
||||||
};
|
|
||||||
|
|
||||||
platforms = with lib.platforms; linux ++ darwin ++ windows;
|
|
||||||
broken = !(stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isx86_64);
|
|
||||||
};
|
|
||||||
|
|
||||||
mainProgram = "SecureCRT";
|
|
||||||
}
|
|
@ -50,7 +50,6 @@
|
|||||||
|
|
||||||
hyprswitch = hyprswitch.packages.${prev.system}.default;
|
hyprswitch = hyprswitch.packages.${prev.system}.default;
|
||||||
pwndbg-gdb-alias = prev.callPackage ./common/pwndbg-gdb-alias.nix { };
|
pwndbg-gdb-alias = prev.callPackage ./common/pwndbg-gdb-alias.nix { };
|
||||||
securecrt = prev.callPackage ./common/securecrt.nix { };
|
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
@ -11,6 +11,10 @@
|
|||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
networkmanager.enable = true;
|
networkmanager.enable = true;
|
||||||
|
# interfaces.eno1 = {
|
||||||
|
# useDHCP = true;
|
||||||
|
# tempAddress = "disabled";
|
||||||
|
# };
|
||||||
|
|
||||||
tempAddresses = "disabled";
|
tempAddresses = "disabled";
|
||||||
hostName = "fa-t14-2025";
|
hostName = "fa-t14-2025";
|
||||||
@ -40,8 +44,6 @@
|
|||||||
nixpkgs.config = {
|
nixpkgs.config = {
|
||||||
allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
||||||
"copilot.vim"
|
"copilot.vim"
|
||||||
"securecrt"
|
|
||||||
"securefx"
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -47,5 +47,4 @@
|
|||||||
security.polkit.enable = true;
|
security.polkit.enable = true;
|
||||||
services.dbus.packages = [ pkgs.gcr ];
|
services.dbus.packages = [ pkgs.gcr ];
|
||||||
services.openssh.settings.X11Forwarding = true;
|
services.openssh.settings.X11Forwarding = true;
|
||||||
programs.nm-applet.enable = true;
|
|
||||||
}
|
}
|
||||||
|
@ -12,15 +12,6 @@
|
|||||||
boot.initrd.kernelModules = [ ];
|
boot.initrd.kernelModules = [ ];
|
||||||
boot.kernelModules = [ "kvm-amd" ];
|
boot.kernelModules = [ "kvm-amd" ];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
boot.kernelParams = [ "resume_offset=3037184" "mem_sleep_default=deep" ];
|
|
||||||
boot.resumeDevice = "/dev/disk/by-uuid/75dd0e39-9411-48c9-822d-bf3c897d0f61";
|
|
||||||
|
|
||||||
powerManagement.enable = true;
|
|
||||||
services.power-profiles-daemon.enable = true;
|
|
||||||
services.logind.lidSwitch = "suspend-then-hibernate";
|
|
||||||
services.logind.lidSwitchDocked = "ignore";
|
|
||||||
services.logind.powerKey = "suspend-then-hibernate";
|
|
||||||
services.logind.powerKeyLongPress = "poweroff";
|
|
||||||
|
|
||||||
fileSystems."/" =
|
fileSystems."/" =
|
||||||
{ device = "/dev/disk/by-uuid/75dd0e39-9411-48c9-822d-bf3c897d0f61";
|
{ device = "/dev/disk/by-uuid/75dd0e39-9411-48c9-822d-bf3c897d0f61";
|
||||||
@ -35,12 +26,7 @@
|
|||||||
options = [ "fmask=0077" "dmask=0077" ];
|
options = [ "fmask=0077" "dmask=0077" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
swapDevices = [
|
swapDevices = [ ];
|
||||||
{
|
|
||||||
device = "/var/lib/swapfile";
|
|
||||||
size = 32*1024;
|
|
||||||
}
|
|
||||||
];
|
|
||||||
|
|
||||||
networking.useDHCP = lib.mkDefault false;
|
networking.useDHCP = lib.mkDefault false;
|
||||||
# networking.interfaces.enp1s0f0.useDHCP = lib.mkDefault true;
|
# networking.interfaces.enp1s0f0.useDHCP = lib.mkDefault true;
|
||||||
|
@ -20,10 +20,7 @@ in {
|
|||||||
mpv
|
mpv
|
||||||
oauth2ms
|
oauth2ms
|
||||||
openssl
|
openssl
|
||||||
openvpn
|
|
||||||
pavucontrol
|
|
||||||
pwgen
|
pwgen
|
||||||
# securecrt
|
|
||||||
traceroute
|
traceroute
|
||||||
virt-manager
|
virt-manager
|
||||||
w3m
|
w3m
|
||||||
@ -74,8 +71,7 @@ in {
|
|||||||
};
|
};
|
||||||
rofi = {
|
rofi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# theme = "iggy";
|
theme = "iggy";
|
||||||
theme = "Arc-Dark";
|
|
||||||
};
|
};
|
||||||
zsh = {
|
zsh = {
|
||||||
shellAliases."rebuild" = "sudo nixos-rebuild switch --flake /config";
|
shellAliases."rebuild" = "sudo nixos-rebuild switch --flake /config";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user