1
0
Fork 0
Based on nixpkgs, nix-darwin and home-manager
Find a file
2022-07-31 16:40:01 +02:00
container/webserver sail: Enable weewx container 2022-07-31 16:40:01 +02:00
hardware/hosts WIP: Add webserver 2022-07-30 18:19:49 +02:00
home Add git-crypt 2022-07-30 22:44:28 +02:00
patches Update deps 2022-04-14 16:39:13 +02:00
secret WIP: weewx 2022-07-31 15:10:28 +02:00
system sail: Disable DHCP on veth 2022-07-31 15:21:51 +02: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 Arion: Add flake 2022-07-30 20:17:39 +02:00
flake.nix Arion: Add flake 2022-07-30 20:17:39 +02:00
README.md Add zig-overlay to README 2022-04-01 10:33:28 +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