| Name | OS | DE | Use | |
|---|---|---|---|---|
albus |
NixOS 25.11 | KDE | Personal | |
work |
Kubuntu 25.10 with nix |
KDE | Work | |
minerva |
NixOS 25.11 (See HomeLab) | - | Server |
This dotfiles are manage using nix and home-manager.
- Clone the repository and go inside the folder
nix run --extra-experimental-features nix-command --extra-experimental-features flakes github:nixos/nixpkgs#git -- clone https://codeberg.com/JesusMtnez/dotfiles $HOME/.dotfiles- Switch to
$HOSTNAMEflake.
nixos-rebuild switch --use-remote-sudo --flake $HOME/.dotfiles/.Before attempting to use this dotfiles in macOS systems, we need to:
- Install Command Line Tools (includes
git)
xcode-select --install- Install
homebrewusing its latestpkg.
# Setup brew in PATH
(echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> $HOME/.zprofile- Install
nixusing DeterminateSystemspkg.
- Setup
nix-darwinapplying the flake for the first time.
nix run nix-darwin -- switch --flake $HOME/.dotfiles/.- Switch to
$HOSTNAMEflake.
# Using nix-darwin, build and switch to your configuration
darwin-rebuild switch --flake $HOME/.dotfiles/.In System Settings / Startup and Shutdown / Background Services disable Application menus daemon.
In Settings Manager / Session and Startup / Advanced check Launch GNOME services at startup.
- Check integrity:
sqlite3 /nix/var/nix/db/db.sqlite 'pragma integrity_check'. - If the result is not
OK:
# cd /nix/var/nix/db
# nix-shell -p sqlite
[nix-shell:/nix/var/nix/db]# sqlite3 db.sqlite ".backup 'db.bak.sqlite' "
[nix-shell:/nix/var/nix/db]# sqlite3 db.sqlite
sqlite> .output db.sql
sqlite> .dump
[nix-shell:/nix/var/nix/db]# sqlite3 db.new.sqlite < db.sql
[nix-shell:/nix/var/nix/db]# mv db.new.sqlite db.sqlite