Skip to content

fjolne/dotfiles

Repository files navigation

Install

Install nix either with new nix-installer or with official one:

# you may need to install core dependencies to be able to fetch and unpack the installer
#sudo apt install curl ca-certificates xz-utils

# good for multi-user installs
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install

# good for single-user installs (like containers)
sh <(curl -L https://nixos.org/nix/install) --no-daemon
mkdir -p ~/.config/nix && echo "experimental-features = nix-command flakes" > ~/.config/nix/nix.conf

Clone this repo and enter devshell:

nix shell nixpkgs#git
git clone https://github.com/fjolne/dotfiles
cd dotfiles
nix develop

Use main to setup the system:

# with secrets
main secrets import-gpg
main secrets unlock
main switch home .#fjolne@vps

# without secrets
main switch home -s .#fjolne@vps

Inspirations

About

a modest submission to the Nix God

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published