1
0
Fork 0
Based on nixpkgs, nix-darwin and home-manager
Find a file
2023-08-01 18:32:28 +02:00
.github/workflows fix: treefmt 2023-07-13 23:41:54 +02:00
agenix/hosts matrix: bridges are no longer containers 2023-08-01 18:32:28 +02:00
container matrix: bridges are no longer containers 2023-08-01 18:32:28 +02:00
hardware Introduce pre-commit-hooks.nix 2023-07-17 00:17:50 +02:00
home matrix: bridges are no longer containers 2023-08-01 18:32:28 +02:00
patches Update deps 2022-10-26 16:10:57 +02:00
secret work setup 2023-07-29 00:58:25 +02:00
system matrix: bridges are no longer containers 2023-08-01 18:32:28 +02:00
.envrc Update deps, flake-parts, treefmt 2023-07-13 16:10:44 +02:00
.gitattributes Add git-crypt 2022-07-30 22:44:28 +02:00
.gitignore chore: Ignore auto-generated .pre-commit-config.yaml 2023-07-17 00:51:50 +02:00
flake.lock matrix: bridges are no longer containers 2023-08-01 18:32:28 +02:00
flake.nix deploy-rs: remove unused overlays 2023-07-29 01:59:23 +02:00
README.md Remove zig overlay - builds on macOS now 2022-08-11 10:53:40 +02:00
secrets.nix postgres: use socket in more cases 2023-07-24 23:39:40 +02: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