Multihost NixOS repository for all of my machines
  • Nix 75.2%
  • QML 15.2%
  • Lua 9.6%
Find a file
2026-11-04 08:19:26 +01:00
assets first readme 2026-09-13 17:41:01 +02:00
dotfiles update 2026-09-17 21:37:45 +02:00
machines sdasd 2026-11-04 08:19:26 +01:00
modules removed open web ui cus broken packages 2026-11-01 22:12:08 +01:00
secrets some bullshit 2026-11-01 21:13:40 +01:00
wallpapers idk tbh 2026-09-13 17:01:18 +02:00
.sops.yaml some bullshit 2026-11-01 21:13:40 +01:00
flake.lock sum bs 2026-11-03 20:35:04 +01:00
flake.nix some bullshit 2026-11-01 21:13:40 +01:00
README.md quick fix 2026-09-13 17:43:06 +02:00

NixOS

My entire /etc/nixos directory for all of my machines ( tons of work in progress )

Niri rice

Note that I will change around it a lot, for example the current bar is fully vibecoded, since I needed one temporarily and I wanted to learn quickshell instead of using waybar.

Services

Will add later as it is gonna change a lot

How to use

Use these commands to install after booting into a NixOS ISO

passwd nixos

Set any password and sftp from your other machine to copy the ssh key and age key, after that:

fdisk /dev/sdX ( Partition your drives )
mkfs.fat -F 32 /dev/sdX ( Boot partition )
cryptsetup luksFormat /dev/sdX ( Root partition )
mkfs.xfs /dev/mapper/ROOT
mount /dev/mapper/ROOT /mnt
mount --mkdir /dev/sdX /mnt/boot ( Boot partition )

After that generate the hardware-configuration.nix file and put the needed files in the right places

nixos-generate-config --root /mnt
rm /mnt/etc/nixos/configuration.nix
cd /mnt/etc/nixos
git clone https://git.cln.cat/cln6/nixos
mv nixos/* ./
mv nixos/.sops.yaml ./
rm -rf nixos
mkdir -p /mnt/etc/sops/age
cp /home/nixos/keys.txt /mnt/etc/sops/age
cd /mnt
nixos-install --flake /mnt/etc/nixos#host ( yui, cln, ... )

After the installation put the ssh key in place and apply the right permissions

mv /home/nixos/.ssh /mnt/home/(host)
nixos-enter --root /mnt
chown -R host:users /home/(host)/.ssh

And you're done I guess, this repo is very much WIP I just made this README kind of temporarily, expect lots of changes, also yes all of the hosts have FDE.