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

17 lines
613 B
Nix
Raw Normal View History

2023-03-11 10:00:53 +00:00
{ pkgs, ... }:
{
imports = [
./fs.nix
];
boot.loader.generic-extlinux-compatible.enable = true;
boot.loader.efi.canTouchEfiVariables = false;
2022-08-01 07:23:49 +00:00
sane.image.extraBootFiles = [ pkgs.bootpart-uefi-x86_64 ];
2023-03-11 10:00:53 +00:00
# sane.persist.enable = false; # TODO: disable (but run `nix flake check` to ensure it works!)
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
sane.zsh.guiIntegrations = false; # save on unused dependencies
# docs: https://nixos.org/manual/nixos/stable/options.html#opt-system.stateVersion
system.stateVersion = "21.05";
}