Skip to content

max06/nixos-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nixos Deployments and stuff

Definitely overly complicated. Contains more than necessary.

Workstation

Virtual machines

Bootstrap

Create new virtual machine (Hyper-V, Openstack, Proxmox), from template if available.

Make sure:

  • UEFI is enabled
  • Secure boot is in setup mode
  • TPM is enabled
  • Boot order: Disk, PXE

First boot: Start from PXE. Select nixos unstable live environment. Set password after boot.

#!/usr/bin/env bash

# CAUTION: It will erase whatever is running on that machine!
export TYPE=[Guest type \(hyperv,proxmox,openstack\)]
export TARGET=[IP of waiting server]
nix run github:nix-community/nixos-anywhere -- --flake .#guest-"$TYPE" root@"$TARGET"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages