No description
Find a file
rafaelfess 48ad58d343
Some checks failed
/ deadnix (push) Has been cancelled
/ check (push) Has been cancelled
chore(nix): update
2026-01-10 00:22:58 +00:00
.github chore(deps): bump actions/checkout from 4 to 5 (#4) 2025-08-25 14:40:32 -03:00
.roo feat: add MCP configuration for context7 server and enhance Nix configurations for OBS and NVIDIA support 2025-07-19 19:34:36 -03:00
.vscode feat(vscode): add MCP configuration for context7 server 2025-06-04 12:32:04 -03:00
machines feat(darkstar): enable NetworkManager with L2TP support and configure strongSwan for IPsec 2025-07-30 20:21:03 -03:00
modules fix(git): correct path for user signing key in configuration 2025-08-25 15:36:15 -03:00
pkgs style: format code for consistency and readability across multiple Nix files 2025-07-19 19:31:47 -03:00
.envrc first commit 2025-05-17 19:52:53 -03:00
.gitignore first commit 2025-05-17 19:52:53 -03:00
.goreleaser.yml first commit 2025-05-17 19:52:53 -03:00
.luarc.json first commit 2025-05-17 19:52:53 -03:00
CODE_OF_CONDUCT.md first commit 2025-05-17 19:52:53 -03:00
flake.lock chore(nix): update 2026-01-10 00:22:58 +00:00
flake.nix fix(home-manager): update backup file extension from "bkp" to "backup" 2025-07-19 19:42:17 -03:00
LICENSE.md first commit 2025-05-17 19:52:53 -03:00
README.md fix(readme): correct spelling and unify code block syntax 2025-06-04 10:14:19 -03:00
stylua.toml first commit 2025-05-17 19:52:53 -03:00

rafaelfess/dotfiles

This is my latest dotfiles generation.

It contains home-manager, nixOS and nix-darwin configuration for several machines and VMs I use.

Cheatsheet

sudo nixos-rebuild switch --flake .
sudo nixos-rebuild switch --flake . --impure

First run

sh <(curl -L https://nixos.org/nix/install)
echo "experimental-features = nix-command flakes">~/.config/nix/nix.conf

On macOS, install homebrew too:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Also make sure the terminal being used has full disk access, otherwise you might get errors like Could not write domain.

Updating

To apply updates, simply run:

nix develop -c dot-apply

# pull, update flake, clean old, apply
nix develop -c dot-sync

Clean up

nix develop -c dot-clean

Create release

To create a release, run:

nix develop -c dot-release

Post first run

Fish as the default shell

which fish | sudo tee -a /etc/shells
chsh -s $(which fish)

Keyboard layouts

Add the US layout so input doesn't wait after opening quotes and such.

Development

To verify the configuration:

nix flake check --no-write-lock-file --show-trace