Go to file
2022-01-25 06:45:44 +01:00
hardware update arguments 2021-12-28 23:05:17 +01:00
home-manager correct arguments for headless systems 2022-01-24 12:46:23 +01:00
modules open additional ports for plex 2022-01-25 06:40:25 +01:00
scripts add a script to deploy a single machine 2022-01-25 06:45:44 +01:00
secrets@f8a67f2acc add VPN 2021-12-03 18:28:11 +01:00
systems replace relative paths with self 2022-01-22 19:20:50 +01:00
.gitignore add result .gitignore 2021-12-28 22:55:22 +01:00
.gitmodules remove the nixos-hardware submodule 2021-12-16 20:58:37 +01:00
flake.lock update system 2022-01-22 19:29:09 +01:00
flake.nix add gitea module to git 2022-01-24 22:39:18 +01:00
LICENSE Initial commit 2021-11-15 17:43:04 +01:00
README.md add missing quotation mark 2022-01-24 19:07:41 +01:00
requirements.txt rename requirements 2021-12-20 12:23:38 +01:00
shell.nix add python3 to the nix-shell 2022-01-04 21:52:27 +01:00
version.nix update to version 21.11 2021-12-02 22:26:15 +01:00

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

  1. nix-shell -p git --run "git clone https://git.2li.ch/Nebucatnetzer/nixos.git"
  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/add-home-manager-channel.sh
  2. scripts/install-home-manager.sh