kclejeune / nix-server-config

Basic server configuration using Nix and home-manager to manage local user environments.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UNIX Dotfile Configuration with Nix

home-manager build

IMPORTANT:

This repository has been converted into a Flake and moved back to my primary system configuration repo. Everything here is still functional as a normal nix setup for non-nixOS machines using niv for dependency management. The project is still forkable but will no longer be updated.

Installing Nix Package Manager

Run the following to perform a multi-user installation for darwin or standard linux. On macOS, use the additional flag --darwin-use-unencrypted-nix-store-volume.

sh <(curl -L https://nixos.org/nix/install) --daemon

Cloning Dotfiles

Clone this repository into ~/.nixpkgs with

git clone https://github.com/kclejeune/nix-server-config ~/.nixpkgs

Use

nix-shell --run "rebuild"

to bootstrap home-manager on the system and install the first generation.

Installing Homebrew dependencies

The few leftover homebrew packages and brew casks are stored in ~/Brewfile. They can be installed using cd ~ && brew bundle.

About

Basic server configuration using Nix and home-manager to manage local user environments.

License:MIT License


Languages

Language:Nix 63.7%Language:Shell 19.4%Language:Vim Script 16.9%