Skip to content

vicgeentor/nixos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

691 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Warning

Moved my whole nix config to vicgeentor/Ooo

My old NixOS config

<3 nix

Imperative steps for setup

Every non-declarative part of this sytem setup is listed in IMPERATIVE.md

Install

Format any extra disks that will be a part of the BTRFS filesystem (make sure to add these devices to the btrfs arguments in disk-config.nix):

sudo mkfs.btrfs -f /dev/disk/by-id/<device-id>

Partitioning with disko:

sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko/latest -- --mode destroy,format,mount /path/to/disk-config.nix

Installation (limiting max-jobs and number of cores to prevent memory overflow):

sudo nixos-install --no-root-passwd --max-jobs 2 --cores 2 --flake /path/to/flake#hostname

Set password:

sudo nixos-enter --root /mnt -c 'passwd <username>'

Reboot:

reboot

About

My old NixOS config

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors