diff options
author | Ben Sima <ben@bsima.me> | 2020-04-03 21:12:54 -0700 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2020-04-03 21:12:54 -0700 |
commit | d5025c552911b29bb8f2250c5b4aa1f9917a68e4 (patch) | |
tree | 6f5f73f8ab6f1386a2c86981f98c2253c44e745d /Com/Simatime/buildOS.nix | |
parent | 49908f6e7662c6ad0479e53b6176e5e06b78734b (diff) |
Add wemux to the dev machine
I also had to refactor the overlays stuff a bit, but it is much nicer now.
Diffstat (limited to 'Com/Simatime/buildOS.nix')
-rw-r--r-- | Com/Simatime/buildOS.nix | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Com/Simatime/buildOS.nix b/Com/Simatime/buildOS.nix index eb20d88..636377e 100644 --- a/Com/Simatime/buildOS.nix +++ b/Com/Simatime/buildOS.nix @@ -4,7 +4,7 @@ nixos: , vpnConnectTo ? "" , vpnRsaPrivateKeyFile ? null , vpnEd25519PrivateKeyFile ? null -, deps ? {} # added under pkgs.biz +, deps ? {} # an attrset overlayed to pkgs , configuration # see: configuration.nix(5) }: # assert enableVpn -> builtins.isString ipAddress; @@ -16,9 +16,7 @@ let Ed25519PrivateKeyFile = "${vpnEd25519PrivateKeyFile}" PrivateKeyFile = "${vpnRsaPrivateKeyFile}" '' else ""; - bizpkgs = self: super: { - biz = deps; - }; + overlay = self: super: deps; defaults = { boot.cleanTmpDir = true; #networking.interfaces.simatime-vpn = [{ ipv4.address = ipAddress; }]; @@ -28,7 +26,7 @@ let nix.maxJobs = 1; # "auto"; nix.optimise.automatic = true; nix.optimise.dates = [ "Sunday 02:30" ]; - nixpkgs.overlays = [ bizpkgs ]; + nixpkgs.overlays = [ overlay ]; programs.mosh.enable = true; programs.mosh.withUtempter = true; security.acme.email = "ben@bsima.me"; |