Florian Schrofner 2dfbd65d2f | ||
---|---|---|
cdist | ||
chezmoi/dot_config | ||
chezmoi.json | ||
configuration.nix | ||
readme.md |
readme.md
schrofi's system configuration
My personal system configuration using cdist on a Manjaro system, specifically tailored towards me and nobody else ¯_(ツ)_/¯ You can use it for inspiration though.
Getting Started
- Install cdist
git clone https://code.ungleich.ch/ungleich-public/cdist.git
cd cdist
export PATH=$PATH:$(pwd -P)/bin
./bin/cdist-build-helper version
make install
sudo python setup.py install
-
Setup SSH root access //TODO
-
CD into wanted configuration directory and apply configuration to localhost
cdist config -v -i manifest localhost
Getting Started - DEPRECATED NIXOS
- Clone the repository into your /etc/nixos directory (delete/rename the existing configuration.nix).
- Add the unstable NixOS channel
nix-channel --add https://nixos.org/channels/nixos-unstable nixos-unstable
- Build the system with the cloned configuration, this will also create the "schrofi" user.
nixos-rebuild switch
- Switch to the user and symlink the chezmoi config to the new users home dir.
mkdir -p ~/.config/chezmoi
ln -s /etc/nixos/chezmoi.json /home/schrofi/.config/chezmoi/chezmoi.json
- Apply the configuration
chezmoi apply
- Done