From 35434dbac0e5cd779e3cb8b5f892b3647005f0c0 Mon Sep 17 00:00:00 2001 From: Emile Date: Tue, 28 Jan 2025 00:39:14 +0100 Subject: flake-helpers: formatting and ssh opts --- nix/lib/flake-helper.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'nix/lib') diff --git a/nix/lib/flake-helper.nix b/nix/lib/flake-helper.nix index 2f8a020..ddace97 100644 --- a/nix/lib/flake-helper.nix +++ b/nix/lib/flake-helper.nix @@ -51,9 +51,7 @@ rec { # allow the usage of the inputs within the systemd # for example: # { pkgs, ... } @ args: { imports = ["${args.inputs.nixpkgs-unstable}/path/to/module.nix"] } - specialArgs = { - inherit inputs; - }; + specialArgs = { inherit inputs self; }; # ; nix repl # nix-repl> :lf . @@ -200,8 +198,8 @@ rec { sshUser = sshUser; # user to ssh to as # make sure people can use sudo - # sshOpts = ["-A", "-t", "-S"]; - sshOpts = [ "-o" "ProxyCommand=none" ]; + sshOpts = ["-A" "-t" "-S"]; + # sshOpts = [ "-o" "ProxyCommand=none" ]; # make sure to add the nix foo on the darwin hosts to ~/.zshenv # as the ~/.zshrc doesn't get sourced when ssh-ing into the system -- cgit 1.4.1