Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/infra
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 8c8761225378
Choose a base ref
...
head repository: NixOS/infra
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 3589c67ae252
Choose a head ref
  • 2 commits
  • 2 files changed
  • 1 contributor

Commits on Jan 31, 2020

  1. bastion: enable regular gc

    grahamc authored and edolstra committed Jan 31, 2020
    Copy the full SHA
    1e1a041 View commit details
  2. bastion: update nixos-channel-scripts

    grahamc authored and edolstra committed Jan 31, 2020
    Copy the full SHA
    3589c67 View commit details
Showing with 5 additions and 3 deletions.
  1. +2 −2 bastion/flake.lock
  2. +3 −1 bastion/network.nix
4 changes: 2 additions & 2 deletions bastion/flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion bastion/network.nix
Original file line number Diff line number Diff line change
@@ -150,8 +150,10 @@ in
pkgs.terraform-full
];

#nix.gc.automatic = true;
nix.gc.automatic = true;
nix.gc.dates = "daily";
nix.gc.options = ''--max-freed "$((30 * 1024**3 - 1024 * $(df -P -k /nix/store | tail -n 1 | ${pkgs.gawk}/bin/awk '{ print $4 }')))"'';


# Temporary hack until we have proper users/roles.
services.openssh.extraConfig =