Based on nixpkgs, nix-darwin and home-manager
Find a file
2023-02-27 17:51:39 +01:00
agenix/hosts/sail atuin: init 2023-02-27 17:51:39 +01:00
container adsb: Stop feeding ADSB Exchange 2023-02-20 15:57:57 +01:00
hardware/hosts sail: Use latest kernel 2023-02-20 18:47:48 +01:00
home atuin: init 2023-02-27 17:51:39 +01:00
patches Update deps 2022-10-26 16:10:57 +02:00
secret adsb: Stop feeding ADSB Exchange 2023-02-20 15:57:57 +01:00
system atuin: init 2023-02-27 17:51:39 +01:00
.gitattributes Add git-crypt 2022-07-30 22:44:28 +02:00
.gitignore Use nix-darwin+home-manager 2022-02-03 23:35:52 +01:00
flake.lock atuin: init 2023-02-27 17:51:39 +01:00
flake.nix nitter: Extract from webserver config 2023-02-13 19:44:04 +01:00
README.md Remove zig overlay - builds on macOS now 2022-08-11 10:53:40 +02:00
secrets.nix atuin: init 2023-02-27 17:51:39 +01:00

Installation

⚠️ I have switched to a combination of nix-darwin and home-manager. The installation instructions below do not work that setup.

Click to expand!
# nix
sh <(curl -L https://nixos.org/nix/install)

sudo echo 'experimental-features = nix-command flakes' >> /etc/nix/nix.conf
sudo echo 'keep-derivations = true' >> /etc/nix/nix.conf
sudo echo 'keep-outputs = true' >> /etc/nix/nix.conf
sudo echo 'auto-optimise-store = true' >> /etc/nix/nix.conf

# home-manager
nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
nix-channel --update
nix-shell '<home-manager>' -A install

# Configuration
cd ~/.config
git clone git@github.com:nifoc/dotfiles.git nixpkgs
home-manager switch --flake ~/.config/nixpkgs/#$USER

sudo cachix use nix-community

Overlays