diff options
author | makefu <github@syntax-fehler.de> | 2023-07-28 22:24:15 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2023-07-28 22:24:15 +0200 |
commit | 060a8f28fa1fc648bdf66afb31a5d1efac868837 (patch) | |
tree | 2b354eacc7897365ee45244fe7a51720e0d0333f /makefu/2configs/tools | |
parent | cbfcc890e3b76d942b927809bf981a5fa7289e6a (diff) |
makefu: move out to own repo, add vacation-note
Diffstat (limited to 'makefu/2configs/tools')
-rw-r--r-- | makefu/2configs/tools/all.nix | 20 | ||||
-rw-r--r-- | makefu/2configs/tools/android-pentest.nix | 18 | ||||
-rw-r--r-- | makefu/2configs/tools/consoles.nix | 22 | ||||
-rw-r--r-- | makefu/2configs/tools/core-gui.nix | 22 | ||||
-rw-r--r-- | makefu/2configs/tools/core.nix | 58 | ||||
-rw-r--r-- | makefu/2configs/tools/desktop.nix | 13 | ||||
-rw-r--r-- | makefu/2configs/tools/dev.nix | 55 | ||||
-rw-r--r-- | makefu/2configs/tools/extra-gui.nix | 28 | ||||
-rw-r--r-- | makefu/2configs/tools/games.nix | 14 | ||||
-rw-r--r-- | makefu/2configs/tools/init-host/default.nix | 46 | ||||
-rw-r--r-- | makefu/2configs/tools/maker.nix | 16 | ||||
-rw-r--r-- | makefu/2configs/tools/media.nix | 20 | ||||
-rw-r--r-- | makefu/2configs/tools/mobility.nix | 13 | ||||
-rw-r--r-- | makefu/2configs/tools/pcmanfm-extra.nix | 10 | ||||
-rw-r--r-- | makefu/2configs/tools/scanner-tools.nix | 7 | ||||
-rw-r--r-- | makefu/2configs/tools/sec-gui.nix | 15 | ||||
-rw-r--r-- | makefu/2configs/tools/sec.nix | 18 | ||||
-rw-r--r-- | makefu/2configs/tools/secrets.nix | 12 | ||||
-rw-r--r-- | makefu/2configs/tools/steam.nix | 7 | ||||
-rw-r--r-- | makefu/2configs/tools/studio.nix | 20 |
20 files changed, 0 insertions, 434 deletions
diff --git a/makefu/2configs/tools/all.nix b/makefu/2configs/tools/all.nix deleted file mode 100644 index 3086a0bb2..000000000 --- a/makefu/2configs/tools/all.nix +++ /dev/null @@ -1,20 +0,0 @@ -{ - imports = [ - # ./android-pentest.nix - ./consoles.nix - ./core-gui.nix - ./core.nix - ./desktop.nix - ./dev.nix - ./extra-gui.nix - ./games.nix - ./maker.nix - ./media.nix - ./mobility.nix - ./pcmanfm-extra.nix - ./scanner-tools.nix - ./sec-gui.nix - ./sec.nix - ./studio.nix - ]; -} diff --git a/makefu/2configs/tools/android-pentest.nix b/makefu/2configs/tools/android-pentest.nix deleted file mode 100644 index cb4ca24a8..000000000 --- a/makefu/2configs/tools/android-pentest.nix +++ /dev/null @@ -1,18 +0,0 @@ -{ pkgs, ... }: - -{ - nixpkgs.config.android_sdk.accept_license = true; - users.users.makefu.packages = with pkgs; [ - # mitmproxy - nmap - metasploit - #drozer - #dex2jar - apktool - jd-gui - # android-studio - jdk - jre - openssl - ]; -} diff --git a/makefu/2configs/tools/consoles.nix b/makefu/2configs/tools/consoles.nix deleted file mode 100644 index 427ea38a9..000000000 --- a/makefu/2configs/tools/consoles.nix +++ /dev/null @@ -1,22 +0,0 @@ -{ pkgs, ... }: -{ - users.users.makefu.packages = with pkgs; [ - # PS2 - opl-utils - #opl-pc-tools - hdl-dump - bin2iso - cue2pops - - # PS4 - pkgrename - - # switch - nx_game_info - hactool - nsrenamer - ns-usbloader - sfo - exfatprogs exfat - ]; -} diff --git a/makefu/2configs/tools/core-gui.nix b/makefu/2configs/tools/core-gui.nix deleted file mode 100644 index bcd3022e8..000000000 --- a/makefu/2configs/tools/core-gui.nix +++ /dev/null @@ -1,22 +0,0 @@ -{ pkgs, ... }: - -{ - users.users.makefu.packages = with pkgs; [ - at-spi2-core - chromium - feh - clipit - # firefox - keepassx - pcmanfm - evince - # replacement for mirage: - sxiv - dconf - xdotool - xorg.xbacklight - scrot - libnotify - thunderbird - ]; -} diff --git a/makefu/2configs/tools/core.nix b/makefu/2configs/tools/core.nix deleted file mode 100644 index aea2e560e..000000000 --- a/makefu/2configs/tools/core.nix +++ /dev/null @@ -1,58 +0,0 @@ -{ pkgs, ... }: - -# tools i use when actually working with the host. -# package version will now be maintained by nix-rebuild -# -{ - environment.systemPackages = with pkgs; [ - ( pkgs.writeScriptBin "unknow" ''#!/bin/sh -${gnused}/bin/sed -i "''${1}d" ~/.ssh/known_hosts - '') - acpi - bc - rsync - exif - file - lsof - which - binutils - screen - rename # rename 's/^/hello/' *.txt - - # fs - cifs-utils - dosfstools - ntfs3g - smartmontools - lm_sensors - iotop - - # io - pv - usbutils - p7zip - hdparm - - # net - wget - curl - inetutils - ncftp - tcpdump - sysstat - wol - iftop - - # stockholm - git - gnumake - jq - parallel - proot - populate - - rxvt_unicode.terminfo - kpaste - - ]; -} diff --git a/makefu/2configs/tools/desktop.nix b/makefu/2configs/tools/desktop.nix deleted file mode 100644 index 924668803..000000000 --- a/makefu/2configs/tools/desktop.nix +++ /dev/null @@ -1,13 +0,0 @@ -{ pkgs, ... }: - -{ - users.users.makefu.packages = with pkgs; [ - taskwarrior - (pass.withExtensions (ext: [ ext.pass-otp ])) - gopass - mutt - weechat - tmux - ]; - -} diff --git a/makefu/2configs/tools/dev.nix b/makefu/2configs/tools/dev.nix deleted file mode 100644 index 0747934b8..000000000 --- a/makefu/2configs/tools/dev.nix +++ /dev/null @@ -1,55 +0,0 @@ -{ pkgs, ... }: - -{ - users.users.makefu.packages = with pkgs;[ - (python3.withPackages(ps: [ - #ps.python-language-server - # the following plugins are optional, they provide type checking, import sorting and code formatting - # ps.pyls-mypy ps.pyls-isort ps.pyls-black - - ps.virtualenv ps.pyserial ps.virtualenv - ])) - # embedded - picocom - gi - flashrom - mosquitto - pwqgen-ger - # esphome # broken - - # nix related - nix-index - nix-review - brain - whatsupnix - nixpkgs-pytools - nixpkgs-fmt - hydra-check - # git-related - git-preview - tig - (pkgs.callPackage ./init-host {}) - # used more than once - imagemagick - qrencode - exiftool - cac-api - cac-panel - krebszones - cyberlocker-tools - ovh-zone - gen-oath-safe - cdrtools - unrar - ffmpeg - dnsutils - - # network related - sshuttle - pciutils - navi - platformio - ]; - services.udev.packages = [ pkgs.platformio ]; - -} diff --git a/makefu/2configs/tools/extra-gui.nix b/makefu/2configs/tools/extra-gui.nix deleted file mode 100644 index 4bd0c25f4..000000000 --- a/makefu/2configs/tools/extra-gui.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ pkgs, ... }: - -{ - users.users.makefu.packages = with pkgs;[ - # media - gimp - # mirage - last time available in 19.09 - inkscape - libreoffice - # skype - teams - synergy - tdesktop - virtmanager - # Dev - saleae-logic - gitAndTools.gitFull - signal-desktop - element-desktop - # rambox - - vscode - - # 3d Modelling - chitubox - freecad - ]; -} diff --git a/makefu/2configs/tools/games.nix b/makefu/2configs/tools/games.nix deleted file mode 100644 index 57a1dba1e..000000000 --- a/makefu/2configs/tools/games.nix +++ /dev/null @@ -1,14 +0,0 @@ -{ pkgs, ... }: - -{ - imports = [ - # ./steam.nix - ]; - users.users.makefu.packages = with pkgs; [ - games-user-env - wine - pkg2zip - steam - steam-run - ]; -} diff --git a/makefu/2configs/tools/init-host/default.nix b/makefu/2configs/tools/init-host/default.nix deleted file mode 100644 index 84f8e7730..000000000 --- a/makefu/2configs/tools/init-host/default.nix +++ /dev/null @@ -1,46 +0,0 @@ -{ pkgs }: -pkgs.writeDashBin "generate-secrets" '' - set -euf - HOSTNAME="''${1?must provide hostname}" - TMPDIR=$(${pkgs.coreutils}/bin/mktemp -d) - PASSWORD=$(${pkgs.pwgen}/bin/pwgen 25 1) - HASHED_PASSWORD=$(echo $PASSWORD | ${pkgs.hashPassword}/bin/hashPassword -s) > /dev/null - - ${pkgs.openssh}/bin/ssh-keygen -t ed25519 -f $TMPDIR/ssh.id_ed25519 -P "" -C "" >/dev/null - ${pkgs.openssl}/bin/openssl genrsa -out $TMPDIR/retiolum.rsa_key.priv 4096 2>/dev/null > /dev/null - ${pkgs.openssl}/bin/openssl rsa -in $TMPDIR/retiolum.rsa_key.priv -pubout -out $TMPDIR/retiolum.rsa_key.pub 2>/dev/null > /dev/null - cat <<EOF > $TMPDIR/hashedPasswords.nix - { - root = "$HASHED_PASSWORD"; - } - EOF - - cd $TMPDIR - for x in *; do - ${pkgs.coreutils}/bin/cat $x | secrets insert -m $HOSTNAME/$x > /dev/null - done - echo $PASSWORD | secrets insert -m $HOSTNAME/root > /dev/null - - cat <<EOF - $HOSTNAME = { - owner = config.krebs.users.makefu; - nets = { - retiolum = { - ip4.addr = "10.243.0.changeme"; - ip6.addr = "42:0:0:0:0:0:0:changeme"; - aliases = [ - "$HOSTNAME.r" - ]; - tinc.pubkey = ${"''"} - $(cat $TMPDIR/retiolum.rsa_key.pub) - ${"''"}; - }; - }; - ssh.privkey.path = <secrets/ssh.id_ed25519>; - ssh.pubkey = "$(cat $TMPDIR/ssh.id_ed25519.pub)"; - }; - EOF - - rm -rf $TMPDIR -'' - diff --git a/makefu/2configs/tools/maker.nix b/makefu/2configs/tools/maker.nix deleted file mode 100644 index 8388db583..000000000 --- a/makefu/2configs/tools/maker.nix +++ /dev/null @@ -1,16 +0,0 @@ -{ pkgs, ... }: -{ - users.users.makefu.packages = with pkgs; [ - # media - picard - asunder - #darkice - lame - # creation - blender - openscad - # slicing - cura - chitubox - ]; -} diff --git a/makefu/2configs/tools/media.nix b/makefu/2configs/tools/media.nix deleted file mode 100644 index 255d1c51a..000000000 --- a/makefu/2configs/tools/media.nix +++ /dev/null @@ -1,20 +0,0 @@ -{ pkgs, ... }: - -{ - users.users.makefu.packages = with pkgs; [ - kodi - calibre - vlc - mumble - mplayer - mpv - # quodlibet # exfalso - tinymediamanager - - plowshare - streamripper - yt-dlp - - pulseeffects-legacy # for pulse - ]; -} diff --git a/makefu/2configs/tools/mobility.nix b/makefu/2configs/tools/mobility.nix deleted file mode 100644 index fd7ce6ab8..000000000 --- a/makefu/2configs/tools/mobility.nix +++ /dev/null @@ -1,13 +0,0 @@ -{ config, pkgs, ... }: -{ - users.users.makefu.packages = with pkgs;[ - go-mtpfs - mosh - sshfs - rclone - (pkgs.callPackage ./secrets.nix {}) - - opensc pcsctools libu2f-host - ]; - boot.supportedFilesystems = [ "exfat" ]; -} diff --git a/makefu/2configs/tools/pcmanfm-extra.nix b/makefu/2configs/tools/pcmanfm-extra.nix deleted file mode 100644 index 4e8246a42..000000000 --- a/makefu/2configs/tools/pcmanfm-extra.nix +++ /dev/null @@ -1,10 +0,0 @@ -{ pkgs, ... }: -{ - users.users.makefu.packages = with pkgs; [ - pcmanfm - lxqt.lxqt-policykit - shared-mime-info - lxmenu-data - ]; - services.gvfs.enable = true; -} diff --git a/makefu/2configs/tools/scanner-tools.nix b/makefu/2configs/tools/scanner-tools.nix deleted file mode 100644 index ef2e913e4..000000000 --- a/makefu/2configs/tools/scanner-tools.nix +++ /dev/null @@ -1,7 +0,0 @@ -{ - # ln -s /run/current-system/sw/bin/xsane ~/.gimp-2.8/plug-ins/xsane - nixpkgs.config.packageOverrides = pkgs: { - xsaneGimp = pkgs.xsane.override { gimpSupport = true; }; - }; -} - diff --git a/makefu/2configs/tools/sec-gui.nix b/makefu/2configs/tools/sec-gui.nix deleted file mode 100644 index 95f130ae8..000000000 --- a/makefu/2configs/tools/sec-gui.nix +++ /dev/null @@ -1,15 +0,0 @@ -{ pkgs, ... }: - -{ - users.users.makefu = { - extraGroups = [ "wireshark" ]; - packages = with pkgs; [ - tpmmanager - ]; - }; - - programs.wireshark = { - enable = true; - package = pkgs.wireshark; - }; -} diff --git a/makefu/2configs/tools/sec.nix b/makefu/2configs/tools/sec.nix deleted file mode 100644 index 6b7aa4fec..000000000 --- a/makefu/2configs/tools/sec.nix +++ /dev/null @@ -1,18 +0,0 @@ -{ pkgs, ... }: - -{ - users.users.makefu.packages = with pkgs; [ - aria2 - # mitmproxy - python3Packages.binwalk-full - dnsmasq - iodine - mtr - nmap - metasploit - thc-hydra - borgbackup - ledger - u3-tool - ]; -} diff --git a/makefu/2configs/tools/secrets.nix b/makefu/2configs/tools/secrets.nix deleted file mode 100644 index 7d10983c7..000000000 --- a/makefu/2configs/tools/secrets.nix +++ /dev/null @@ -1,12 +0,0 @@ -{ pass, write, writeDash, ... }: - -write "secrets" { - "/bin/secrets".link = writeDash "secrets" '' - PASSWORD_STORE_DIR=$HOME/.secrets-pass/ \ - exec ${pass}/bin/pass $@ - ''; - "/bin/secretsmenu".link = writeDash "secretsmenu" '' - PASSWORD_STORE_DIR=$HOME/.secrets-pass/ \ - exec ${pass}/bin/passmenu $@ - ''; -} diff --git a/makefu/2configs/tools/steam.nix b/makefu/2configs/tools/steam.nix deleted file mode 100644 index 1817e5b7c..000000000 --- a/makefu/2configs/tools/steam.nix +++ /dev/null @@ -1,7 +0,0 @@ -{pkgs, ...}: -{ - users.users.makefu.packages = [ - pkgs.steam - ]; - hardware.opengl.driSupport32Bit = true; -} diff --git a/makefu/2configs/tools/studio.nix b/makefu/2configs/tools/studio.nix deleted file mode 100644 index 2786be408..000000000 --- a/makefu/2configs/tools/studio.nix +++ /dev/null @@ -1,20 +0,0 @@ -{ pkgs, ... }: - -{ - nixpkgs.config.permittedInsecurePackages = [ - "openssl-1.0.2u" # required for studio-link - ]; - users.users.makefu.packages = with pkgs; [ - obs-studio - studio-link - audacity - #darkice - # owncloudclient - (pkgs.writeScriptBin "prepare-pulseaudio" '' - pactl load-module module-null-sink sink_name=stream sink_properties=device.description="Streaming" - pactl load-module module-loopback source=alsa_output.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo.monitor sink=stream - pactl load-module module-loopback source=alsa_input.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo sink=stream - darkice -c ./lol.conf - '') - ]; -} |