Hello there all and glad to be here finally. Been thinking years and trying many times to setup my custom images and after weeks trying my self building custom bootc i gave up and decided just to try uBlue and template builder and now i am here.
What i made is pretty amasing atleast for me since i am huge atomic fan boy and also nix fan boy and desktop side hyprland. So what if i combine all of these together with bootable container… and from idea it is the reality.
Using base-nvidia as base image i started to make progress adding Noctalia shell from copr repo meta package and there adding more hyprland what i wanted that wasent on meta package and the first boots always succesfull. there was time to go the nix way and adding nix easy as it is always on builder, but the small first boot setup had to do changing some stuff due immutale nature and then it was all good again.
Temporary Resolution (Immediate Execution):
sudo mkdir -p /var/nix
sudo mount --bind /var/nix /nix
sudo systemctl restart nix-daemon
Permanent Resolution (Persistence Across System Reboots):
A systemd mount unit must be created to ensure the persistence of the bind mount.
sudo nano /etc/systemd/system/nix.mount
Insert the following configuration into the file:
[Unit]
Description=Mount /var/nix to /nix
DefaultDependencies=no
Conflicts=umount.target
Before=local-fs.target umount.target
[Mount]
What=/var/nix
Where=/nix
Type=none
Options=bind
[Install]
WantedBy=local-fs.target
Activate the newly created mount unit:
sudo systemctl daemon-reload
sudo systemctl enable nix.mount
this made nix setup work so now i dont need to figure anything about flatpaks or permissions no need to have brew or other stuff and i can manage dotfiles and nix all as decalrative way and backup all as repo. Nix is flake centric using flakes and home-manager so all settings always in hand on fresh boot or recovery way.
The build is still in baby steps and i will eventually make more tweaks and stuff so it has everything i want on my workflow and yes no distrobox or toolbox needed since nix is working on user level.
It took sometime to figure how to sign nvidia, but that was easy as it can after reading ujust and there it was after 1 minute all signed all good. only thing not sure yet does base-nvidia use open drivers or still on propriatery ones not like that is huge thing more like want to know only.
Any way nice to be here and hope we have good time.
About me little Older grumpy person already back to school in mid life. Third degree coming now on IT field and programming. Focussing on UNI Bachelor of Applied Sciences and Bachelor of Business Administration. Freelancer programmer sort of i guess been doing some stuff when i have energy and motivation and messing around with Linux and Tech stuff with self hosting and server maintance.
