79181e103f
NixOS file, configurations/<name>.nix, will be easily installable via `nixos-rebuild --flake ".#<name>"`.
18 lines
218 B
Nix
18 lines
218 B
Nix
{ ... }:
|
|
let
|
|
inherit (builtins) readFile;
|
|
in
|
|
{
|
|
imports = [];
|
|
|
|
|
|
boot.loader.systemd-boot = {
|
|
enable = true;
|
|
editor = false;
|
|
};
|
|
|
|
|
|
users.users.root.hashedPassword =
|
|
readFile
|
|
../secrets/root;
|
|
}
|