No description
  • Nix 82.3%
  • Shell 10.3%
  • Lua 6.4%
  • Just 1%
Find a file
2026-10-18 11:55:11 +02:00
configs add discord presence. actual 2026-10-11 19:14:13 +02:00
fonts 2026-03-13 17:47:09 +01:00
home smol refactor 2026-10-18 11:51:00 +02:00
hosts enable seahorse 2026-10-18 11:55:11 +02:00
tools dvdbackup 2026-08-18 17:53:59 +02:00
.envrc 2026-02-20 04:37:49 +01:00
.gitignore Split out from dotfiles repo 2026-02-09 19:41:27 +01:00
.gitmodules o_o 2026-07-19 12:18:28 +02:00
.luarc.json dev-layout 2026-09-12 13:25:22 +02:00
flake.lock nix flake update 2026-09-29 18:05:08 +02:00
flake.nix add direnv-instant and support for shell.nix instead of flakes 2026-07-23 17:51:17 +02:00
justfile add justfile with submodule related commands 2026-03-17 13:40:45 +01:00
README.md ollie.earth 2026-04-09 19:21:28 +02:00

1. Clone the repo

Cloning the nix branch using jj from the Strawmelonjuice forge:

# Temporary pre-install these required packages
nix shell nixpkgs#git nixpkgs#jujutsu nixpkgs#neovim --extra-experimental-features nix-command --extra-experimental-features flakes

# Clone the dotfiles
jj git clone https://git.ollie.earth/ollie/nix.git -b main ~/.dotfiles

cd ~/.dotfiles
# Set origin correctly for dotfiles, assuming you by the time you push again have the keys.
jj git remote set-url origin ssh://git@git.ollie.earth/ollie/nix.git

# Clone wallpapers.
jj git clone https://github.com/D3Ext/aesthetic-wallpapers.git ~/.local/share/wallpapers/aesthetic-wallpapers
  1. Initialize a new Host if this is a brand new device:
mkdir -p hosts/$(hostname) # Create the folder
cp /etc/nixos/*.nix ./hosts/$(hostname)/ # Copy installer configs
nvim ./flake.nix # Include the new hostname in the nixosConfigurations block.
nvim ./hosts/$(hostname)/configuration.nix # You may want to tweak this, or maybe import `../all-hosts.nix`!

Otherwise make sure the hostname matches the one before and continue to 3!

  1. Deploy
jj # Capture new files so the flake can see them
sudo nixos-rebuild switch --flake .#$(hostname) # Apply based on current hostname

# If you included all-hosts.nix, you now won't have sudo anymore, so make sure doas works!

doas git config --global --add safe.directory /home/liv/.dotfiles # Safelist dotfiles for root, so doas can be used to rebuild!

Structure

Directory For
hosts/* Device-specific hardware and system settings (e.g., Fennekin's convertible tweaks).
home/* Shared user environment and config
configs/* Configuration files symlinked into their programs for when configuration is too advanced for home/
fonts/* Fonts, imported by home/modules/fonts.nix

Hosts currently known

Name Kind About Special
shitbox e-waste laptop pretty much just a media laptop
beeg-puter my main desktop Ryzen 9 7900X + 32gig + 3090

TODO

nix:

  • replace p10k with starship
  • commit signing (has to work with jj split)
  • sops for logins n such (maybe ssh keys as well; we'll see)

nvim:

  • breadog based theme
  • lil startup page mayhaps
  • theme switcher
  • auto theme switching (based on current os theme)