1
0
Fork 0
Based on nixpkgs, nix-darwin and home-manager
Find a file
2023-04-27 19:40:48 +02:00
.github/workflows Build (and cache) certain ARM binaries 2023-04-23 16:26:44 +02:00
agenix/hosts aria2: fixup 2023-04-26 15:28:50 +02:00
container mediaserver: wip tubearchivist 2023-04-20 16:34:40 +02:00
hardware/hosts mediaserver: update nfs mounts 2023-04-18 22:20:26 +02:00
home Update deps 2023-04-27 13:44:34 +02:00
patches Update deps 2022-10-26 16:10:57 +02:00
secret mediaserver: update config 2023-04-25 08:47:11 +02:00
system aria2: fixup 2023-04-26 14:56:23 +02:00
.gitattributes Add git-crypt 2022-07-30 22:44:28 +02:00
.gitignore mediaserver: add missing files 2023-04-13 16:51:18 +02:00
flake.lock Update deps 2023-04-27 19:40:48 +02:00
flake.nix Update deps 2023-04-23 01:21:04 +02:00
README.md Remove zig overlay - builds on macOS now 2022-08-11 10:53:40 +02:00
secrets.nix mediaserver: Add aria2 2023-04-26 13:53:36 +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