Create file /etc/systemd/system/docker-compose@.service
[Unit]
Description=%i service with docker compose
Requires=docker.service
After=docker.service| # Description: Boxstarter Script | |
| # Original Author: Jess Frazelle <jess@linux.com> | |
| # Author: Maksim | |
| # Last Updated: 2019-02-13 | |
| # | |
| # Install boxstarter: | |
| # . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force | |
| # | |
| # You might need to set: Set-ExecutionPolicy RemoteSigned | |
| # Import for syncthing you need to provide your login password (as a secure-string like so): |
| # to generate your dhparam.pem file, run in the terminal | |
| openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
| pkgs: attrs: | |
| with pkgs; | |
| let defaultAttrs = { | |
| builder = "${bash}/bin/bash"; | |
| args = [ ./builder.sh ]; | |
| setup = ./setup.sh; | |
| baseInputs = [ gnutar gzip gnumake gcc binutils-unwrapped coreutils gawk gnused gnugrep patchelf findutils ]; | |
| buildInputs = []; | |
| system = builtins.currentSystem; | |
| }; |
| { config, pkgs, ... }: | |
| let | |
| gitCredentialManager = pkgs.writeScriptBin "git-credential-manager" '' | |
| #!${pkgs.stdenv.shell} | |
| exec /windows/c/Program\ Files/Git/mingw64/libexec/git-core/git-credential-manager.exe $@ | |
| ''; | |
| in | |
| { | |
| # Let Home Manager install and manage itself. |
| # custom | |
| #[ -n ${WSL_AUTH_SOCK} ] && export SSH_AUTH_SOCK=${WSL_AUTH_SOCK} | |
| #export SSH_AUTH_SOCK=/windows/c/Users/plumps/AppData/Local/Temp/ssh-agent.sock | |
| #Nix | |
| export SSH_AUTH_SOCK=$HOME/.ssh/agent.sock | |
| ss -a | grep -q $SSH_AUTH_SOCK | |
| if [ $? -ne 0 ]; then | |
| rm -f $SSH_AUTH_SOCK | |
| ( setsid socat UNIX-LISTEN:$SSH_AUTH_SOCK,fork EXEC:"npiperelay.exe -ei -s //./pipe/openssh-ssh-agent",nofork & ) >/dev/null 2>&1 |
| // This file was initially generated by Windows Terminal Preview 1.1.1812.0 | |
| // It should still be usable in newer versions, but newer versions might have additional | |
| // settings, help text, or changes that you will not see unless you clear this file | |
| // and let us generate a new one for you. | |
| // To view the default settings, hold "alt" while clicking on the "Settings" button. | |
| // For documentation on these settings, see: https://aka.ms/terminal-documentation | |
| { | |
| "$schema": "https://aka.ms/terminal-profiles-schema", |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width"> | |
| <title>JS Bin</title> | |
| </head> | |
| <body> | |
| <script id="jsbin-javascript"> |
I hereby claim:
To claim this, I am signing this object:
| { | |
| "nodes": { | |
| "flake-utils": { | |
| "locked": { | |
| "lastModified": 1637014545, | |
| "narHash": "sha256-26IZAc5yzlD9FlDT54io1oqG/bBoyka+FJk5guaX4x4=", | |
| "owner": "numtide", | |
| "repo": "flake-utils", | |
| "rev": "bba5dcc8e0b20ab664967ad83d24d64cb64ec4f4", | |
| "type": "github" |