Go to file
Andreas Zweili a9a0b5bb94 replace int with string for env variable 2022-08-07 15:52:51 +02:00
custom Increase version 2022-06-14 22:47:31 +02:00
hardware Remove a depricated option 2022-05-31 13:37:19 +02:00
home-manager zetteldeft settings 2022-08-07 13:36:58 +02:00
lib Correct input to inputs 2022-06-29 21:46:15 +02:00
modules replace int with string for env variable 2022-08-07 15:52:51 +02:00
scripts Move pihole to the bottom of the list 2022-07-18 12:01:47 +02:00
secrets@905f513145 Move the email password to secrets 2022-04-16 15:47:08 +02:00
systems Add a separate share for logs 2022-07-14 13:06:28 +02:00
.envrc extend the development environment 2022-03-18 18:06:59 +01:00
.gitignore Remove the variables.el file 2022-05-16 18:55:28 +02:00
.gitmodules remove the nixos-hardware submodule 2021-12-16 20:58:37 +01:00
LICENSE Initial commit 2021-11-15 17:43:04 +01:00
README.md extend README 2022-01-25 18:33:13 +01:00
flake.lock Update flake 2022-08-07 13:36:42 +02:00
flake.nix Remove relativ paths 2022-06-29 21:43:18 +02:00
requirements.txt rename requirements 2021-12-20 12:23:38 +01:00
shell.nix extend the development environment 2022-03-18 18:06:59 +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.

VM installation

This allows you to setup a VM with minimal effort. However this requires some prerequisites.

  • A VM running the minimal NixOS ISO reachable with SSH under nixos@nixos.2li.local.
  • The VM runs UEFI.
  • You've set a password for the nixos user.
  1. ./scripts/install_new_vm.xsh
  2. Provide the required information and wait until the script is finished.
  3. Reboot and profit!

Hardware installation

  1. curl https://git.2li.ch/Nebucatnetzer/nixos/archive/master.tar.gz | tar xz
  2. cd nixos && nix-shell
  3. sudo python3 scripts/format-disk.py
  4. sudo nixos-install --no-root-passwd --root /mnt --impure --flake .#SYSTEMNAME

Update remote systems

Simply run the script scripts/update_all_systems.xsh and it will iterate over all defined systems. The script requires Xonsh but can be easily adapted to BASH or similar.

Non-Nixos System

  1. scripts/install-home-manager.sh