Go to file
Andreas Zweili 0dc58dccf4 remove obsidian for the moment
I don't know yet how to include unstable packages
2021-12-11 16:35:32 +01:00
common remove the home-manager module 2021-12-11 15:48:32 +01:00
hardware use nixos-hardware directly 2021-12-11 15:42:32 +01:00
home-manager remove obsidian for the moment 2021-12-11 16:35:32 +01:00
scripts rename the hardware config 2021-11-29 19:23:52 +01:00
secrets@f8a67f2acc add VPN 2021-12-03 18:28:11 +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 extend the README 2021-11-29 10:55:16 +01:00
flake.lock remove obsidian for the moment 2021-12-11 16:35:32 +01:00
flake.nix remove obsidian for the moment 2021-12-11 16:35:32 +01:00
version.nix update to version 21.11 2021-12-02 22:26:15 +01:00

README.md

nixos

This repository contains my configuration for my Nixos systems. I don't provide any garantuees that it will work on other systems. In addition some of the scripts required for installation will destroy your data when used.

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. sudo scripts/format-drive.sh
  2. Execute one of the following scripts:
    • sudo scripts/link-asus.sh
    • sudo scripts/link-vm.sh
    • sudo scripts/link-precision5530.sh
  3. sudo nixos-install

Non-Nixos System

  1. scripts/add-home-manager-channel.sh
  2. scripts/install-home-manager.sh