Skip to content
Snippets Groups Projects
Select Git revision
  • 2ed30e035af06955d43b2c25a78222bccdf56755
  • master default protected
  • 1.31
  • 4.32.1
  • 4.32.0
  • 4.31.0
  • 4.30.1
  • 4.30.0
  • 4.29.1
  • 4.29.0
  • 4.28.0
  • 4.27.0
  • 4.26.0
  • 4.25.5
  • 4.25.4
  • 4.25.3
  • 4.25.2
  • 4.25.1
  • 4.25.0
  • 4.24.3
  • 4.24.2
  • 4.24.1
  • 4.24.0
23 results

CHANGELOG.md

Blame
  • To find the state of this project's repository at the time of any of these versions, check out the tags.
    devenv.nix 22.79 KiB
    { pkgs ? import <nixpkgs> {}, inputs, phps, lib, config, modulesPath, ... }:
    
    {
      # https://devenv.sh/packages/
      packages = with pkgs; [
        inputs.version.defaultPackage."${builtins.currentSystem}"
        appimage-run
        blackbox
        blackbox-terminal
        coreutils-full
        dbeaver
        dbeaver
        delve
        dialog
        drill
        exa
        fd
        fd
        feh
        gcc12
        gdlv
        git
        glab
        gnugrep
        gnumake
        gnused
        go-licenses
        gosec
        go-task
        gum
        httpie
        hurl
        jq
        libffi
        logrotate
        meld
        memcached
        netcat
        nixfmt
        nodePackages.mermaid-cli
        openssh
        procps
        ranger
        unixtools.xxd
        unzip
        util-linux
        wget
        zlib
      ];
    
      # https://devenv.sh/languages/
      # languages.nix.enable = true;
      languages = { go = { enable = true; }; };
    
      difftastic.enable = true;
    
      scripts.run-sshd.exec = ''
      set -x
      
      cd ${config.devenv.root}/docker/sftp-server
      ${pkgs.docker-client}/bin/docker docker build -t jobqueue-sftp-server .
      cd -
      
      
      
      ${pkgs.coreutils}/bin/chmod 700 ${config.devenv.root}/.config/temp_rsa_key
      ${pkgs.coreutils}/bin/chmod 700 ${config.devenv.root}/.config/temp_ed25518_key
      
      ${pkgs.coreutils}/bin/mkdir -p ${config.devenv.root}/.devenv/chroot/home/demo/.ssh 
      ${pkgs.coreutils}/bin/cat ${config.devenv.root}/.config/demo_ssh_key.pub > ${config.devenv.root}/.devenv/chroot/home/demo/.ssh/authorized_keys