- Nix 75.2%
- QML 15.2%
- Lua 9.6%
| assets | ||
| dotfiles | ||
| machines | ||
| modules | ||
| secrets | ||
| wallpapers | ||
| .sops.yaml | ||
| flake.lock | ||
| flake.nix | ||
| README.md | ||
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.