Remove fix-point recursion from socrates/default.nix

The fixed-point recursion isn't necessary.
This commit is contained in:
William Carroll 2020-03-07 15:07:32 +00:00
parent b04b1dafd2
commit 431b4980e4

View file

@ -9,7 +9,7 @@ let
trimNewline = x: pkgs.lib.removeSuffix "\n" x;
readSecret = x: trimNewline (builtins.readFile ("/etc/secrets/" + x));
in pkgs.lib.fix(self: {
in {
imports = [ ./hardware.nix ];
# Use the systemd-boot EFI boot loader.
@ -154,4 +154,4 @@ in pkgs.lib.fix(self: {
};
system.stateVersion = "20.09"; # Did you read the comment?
})
}