Remove fix-point recursion from socrates/default.nix
The fixed-point recursion isn't necessary.
This commit is contained in:
parent
b04b1dafd2
commit
431b4980e4
1 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ let
|
||||||
|
|
||||||
trimNewline = x: pkgs.lib.removeSuffix "\n" x;
|
trimNewline = x: pkgs.lib.removeSuffix "\n" x;
|
||||||
readSecret = x: trimNewline (builtins.readFile ("/etc/secrets/" + x));
|
readSecret = x: trimNewline (builtins.readFile ("/etc/secrets/" + x));
|
||||||
in pkgs.lib.fix(self: {
|
in {
|
||||||
imports = [ ./hardware.nix ];
|
imports = [ ./hardware.nix ];
|
||||||
|
|
||||||
# Use the systemd-boot EFI boot loader.
|
# 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?
|
system.stateVersion = "20.09"; # Did you read the comment?
|
||||||
})
|
}
|
||||||
|
|
Loading…
Reference in a new issue