Go to file
Andreas Zweili 82bd691b33 add jdownloader to update script 2022-02-28 14:21:34 +01:00
custom remove the version file 2022-02-23 10:43:04 +01:00
hardware update arguments 2021-12-28 23:05:17 +01:00
home-manager use stable vscode 2022-02-28 10:52:29 +01:00
modules correct download share path 2022-02-28 11:52:33 +01:00
scripts add jdownloader to update script 2022-02-28 14:21:34 +01:00
secrets@f8a67f2acc
systems move vars into a separate file 2022-02-21 11:36:12 +01:00
.gitignore add result .gitignore 2021-12-28 22:55:22 +01:00
.gitmodules
LICENSE
README.md extend README 2022-01-25 18:33:13 +01:00
flake.lock update flake 2022-02-23 14:51:41 +01:00
flake.nix add a config for jdownloader 2022-02-28 11:52:04 +01:00
requirements.txt
shell.nix add python3 to the nix-shell 2022-01-04 21:52:27 +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