Skip to content

f0rdprefect/nixos-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation with disko

Preparation

sudo -i
# add 'nix.settings.experimental-features = [ "nix-command" "flakes" ];'
vi /etc/nixos/configuration.nix
nixos-rebuild test
nix shell nixpkgs#git
git clone https://github.com/f0rdprefect/nixos-config
cd nixos-config

Partitioning

nix run github:nix-community/disko -- -m disko modules/disko/btrfs-luks.nix --arg disk '"/dev/nvme0n1"'
mount | grep /mnt

Install

nixos-generate-config --show-hardware-config > <your hardware.nix>
# edit mount starting with /mnt and remove /mnt. 
# All other mount points can be removed
nixos-install --flake .#<host>

Post-install

TBD

nixos-enter
mkdir /persist/secrets
mkpasswordfile /persist/secrets/root
mkpasswordfile /persist/secrets/katexochen

About

nixos-config based on zany's work

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages