nix-files/hosts/by-name/rescue/default.nix

19 lines
611 B
Nix
Raw Normal View History

2023-03-11 10:00:53 +00:00
{ pkgs, ... }:
{
imports = [
./fs.nix
];
boot.loader.efi.canTouchEfiVariables = false;
2022-08-01 07:23:49 +00:00
sane.image.extraBootFiles = [ pkgs.bootpart-uefi-x86_64 ];
2024-02-28 14:19:45 +00:00
sane.persist.enable = false; # what we mean here is that the image is immutable; `/` is still tmpfs.
2023-03-04 08:19:41 +00:00
sane.nixcache.enable = false; # don't want to be calling out to dead machines that we're *trying* to rescue
2023-11-08 13:18:30 +00:00
# auto-login at shell
services.getty.autologinUser = "colin";
# users.users.colin.initialPassword = "colin";
# docs: https://nixos.org/manual/nixos/stable/options.html#opt-system.stateVersion
system.stateVersion = "21.05";
}