my nix config for desktops, laptops and servers
dotfiles/nvim | ||
home | ||
modules | ||
nixos | ||
overlays | ||
pkgs | ||
.gitignore | ||
flake.lock | ||
flake.nix | ||
LICENSE | ||
README.md | ||
shell.nix |
my nix flake
This controls both my NixOS-powered computers, but also my home environment, including dotfiles, on almost everything else.
If you're me, and the machine you're installing on has a configuration, it's as simple as:
git clone forgejo@cirno.with.al:shadows_withal/nix-config.git ~/nix-config
cd ~/nix-config
nix-shell
# for nixos:
sudo nixos-rebuild switch --flake .
# for home-manager
home-manager switch --flake .#lu@HOSTNAME
Feel free to brutalize as much of this config as you want for your own purposes.