Skip to content

Latest commit

 

History

History
51 lines (42 loc) · 1.01 KB

NIXOS.md

File metadata and controls

51 lines (42 loc) · 1.01 KB

setup with conftool

/etc/nixos/boot.nix efi

boot.loader.efi.canTouchEfiVariables = true; # if not --no-efi-vars
boot.loader.efi.efiSysMountPoint = "/boot";
boot.loader.grub.enable = true;
boot.loader.grub.efiSupport = true;
boot.loader.grub.devices = [ "nodev" ];

/etc/nixos/boot.nix bios/mbr

boot.loader.grub.enable = true;
boot.loader.grub.device = "BOOTDEVICE";

/etc/nixos/conf-tool.json

{
  "users": ["USERNAME"],
  "keys": {
    "time": {
      "timeZone": "TIMEZONE"
    },
    "i18n": {
      "defaultLocale": "LOCALE"
    },
    "console": {
      "keyMap": "KEYBOARD"
    },
    "networking": {
      "hostname": "HOSTNAME"
    },
    "services": {
      "xserver": {
        "layout": "KEYBOARD"
      }
    }
  }
}
  • seed.json

then call conf init --template meros --seed GENERATED_JSON --hwScan --root TARGET & nixos-install --root TARGET -v (possibly use -i option of conf-tool?)

unsure if crypttab is handeled by nixos-generate-config, otherwise need to generate that aswell