Link to this headingNixOS
Configurations:
Plex configuration for NixOS
Good Configuration
Walk through on Making a gaming config
Kubernetes Servers
Tools:
Install Nixos Through SSH
Rebuild System:
#rebuild system to force changes
#test out system first
#Rebuild with flake
Install single packages:
;
Delete packages after 15 days:
Link to this headingInstall with nix-anywhere
Install with the target OS running the Nixos Live CD without an OS.
Steps:
#Get target IP
#Change Password
#Generate Disk Encryption Key
#Run Nix on
Link to this headingInstall from Scratch
#Make Partitions with disko
#Set Secure Boot
#sudo nix run nixpkgs#sbctl create-keys --extra-experimental-features nix-command --extra-experimental-features flakes
#Install Bootloader
#
Link to this headingSecure Boot
Requires UEFI mode and systemd-boot
VM Options tab -> Boot Options -> Secure Boot
Setup:
#Check UEFI
#install Secure Boot Key Manager
#Create keys
#Install niv
#Check configurations
#Verify Secure Boot
#reboot
# Enroll Microsoft key
#reboot
Link to this headingEncrypted Drive
Link to this headingNix Shell
Install a package for a single command:
Start environment for a set of tools:
Link to this headingHome Manager
Link to this headingInstall Home-manager
#Update /etc/nixos/configuration.nix to install
#Generate /etc/nixos/flake
Link to this headingHome-mamager commands
Update user config:
Link to this headingSecret Management
agenix - age-encrypted secrets for NixOS
Link to this headingConfig Biased on Hostname
{ config, ... }:
mkMerge [{
# main config options
}
(mkIf config.networking.hostName == "x" {
# ...
})
(mkIf config.networking.hostName != "x" {
# ...
})];