Skip to content

jackinloadup/nixos

Repository files navigation

Documentation

Personal home lab nixos setup exposed as a flake.

Nixos

Home-Manager

  • Local Manual man home-configuration.nix
  • Remote

Install

  • boot nixos-install iso
  • format disk using disko
    • Prepare disk layout config
      • Copy layout over: scp ./profile/disks/disko-laptop-1.nix#TBD <target>:/tmp/disko-config.nix
      • Find disk name: sudo fdisk -l
      • Place disk in device variable vim /tmp/disk-config.nix
    • Create temp file with the password which will be applied to the disk
      • vim /tmp/disk.key
    • Perform the format
      • sudo nix run github:nix-community/disko -- --mode disko /tmp/disko-config.nix
    • Follow Complete the NixOS installation
    • Before running nixos-install
      • Set networking.hostId
      • Add the following config to enable ssh ``` services.openssh.enable = true; services.openssh.settings.PermitRootLogin = "yes";
  • reboot
  • Apply machine config from local/donar/build machine
    • NIX_SSHOPTS="-t" nixos-rebuild boot --flake ~/Projects/nixos-config/master#jesus --target-host root@jesus

About

Personal Nixos config

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages