Go to file
Andreas Zweili e4f030bddb add a simplet script to format the drive 2021-11-29 10:45:16 +01:00
common enable the firmware updater tool 2021-11-28 12:06:58 +01:00
hardware add the nixos-hardware to my asus notebook 2021-11-28 11:11:54 +01:00
home-manager move and add some configs 2021-11-27 17:08:57 +01:00
scripts add a simplet script to format the drive 2021-11-29 10:45:16 +01:00
secrets@21748e8f5d add a module for restic 2021-11-28 12:00:58 +01:00
.gitignore ignore pycache 2021-11-19 16:29:13 +01:00
.gitmodules add nixos-hardware as a submodule 2021-11-27 17:24:21 +01:00
LICENSE Initial commit 2021-11-15 17:43:04 +01:00
README.md update config 2021-11-20 17:16:43 +01:00
version.nix add a version file 2021-11-23 23:09:40 +01:00

README.md

nixos

Base installation

parted /dev/sda -- mklabel gpt
parted /dev/sda -- mkpart ESP fat32 1MiB 512MiB
parted /dev/sda -- set 1 esp on
parted /dev/sda -- mkpart primary 512MiB 100%

cryptsetup luksFormat --type luks1 /dev/sda2
cryptsetup open /dev/sda2 cryptlvm

pvcreate /dev/mapper/cryptlvm
vgcreate MainGroup /dev/mapper/cryptlvm
lvcreate -L 8G MainGroup -n swap
lvcreate -l 100%FREE MainGroup -n root

mkfs.ext4 -L nixos /dev/MainGroup/root
mkswap -L swap /dev/MainGroup/swap
mkfs.fat -F 32 -n BOOT /dev/sda1
  1. link-NAME.sh
  2. scripts/add-home-manager-channel.sh
  3. scripts/install-home-manager.sh