36a425f3789d944083d2f00393195ed0f53e3a62
Dotfiles
NixOS configuration files personalized for my daily driver and home server.
Work Computer
To get started, install NixOS, enable flakes and clone this repository.
git clone https://github.com/lavafroth/dotfiles
sudo nixos-rebuild switch --flake dotfiles#cafe-nosecureboot
Secureboot
- Use the preinstalled
sbctlcommand to generate your keys - Clear the manufacturer keys and enroll yours as described here.
Note: My system did not require enrolling Microsoft keys alongside mine. However, your setup might break if you don't. Research about your device carefully before enrolling keys.
- Run the following to rebuild the system from now on
sudo nixos-rebuild switch --flake dotfiles
Home Server
Install NixOS with the headless (no GUI) settings. Enable flakes.
Clone this repo, enter the directory and run a rebuild for the host rahu.
git clone https://github.com/lavafroth/dotfiles
sudo nixos-rebuild switch --flake dotfiles#rahu
Android (Nix-on-droid)
I use Nix-on-droid to have Termux with a declarative config. Install Nix-on-droid from F-Droid and enable flakes when prompted. Clone this repo and rebuild the environment.
git clone https://github.com/lavafroth/dotfiles
nix-on-droid switch --flake dotfiles
Running blender with CUDA
nix run --impure github:guibou/nixGL -- nix run blender-bin
Languages
Nix
99.1%
Shell
0.7%
CSS
0.2%