Skip to content

active-group/nix-starter-kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nix starter kit

NOTE: This setup has only been tested on macOS (x86_64-darwin) so far. If you need it on any other architecture/OS, talk to Johannes and we’ll adapt it accordingly.

Provisioning a fresh system

  1. Install the Nix package manager on the target
  2. On the target system, clone this repository to ~~/.config/home-manager~, for instance:
mkdir -p ~/.config
git clone https://github.com/active-group/nix-starter-kit ~/.config/home-manager
cd ~/.config/home-manager
  1. cp user-settings.nix.template user-settings
  2. vi user-settings.nix und ausfüllen
  3. To configure “modules” like Emacs, zsh, or others, check the README files in their respective subdirectories
  4. Run ./bootstrap.sh
  5. Create or add an SSH key pair, register that with our services etc.
  6. At some point, clone the howto repository to ~/howto. This is needed for LaTeX support to work properly with AG documents.

Usage

Adding software

On https://search.nixos.org/packages you can search for packages you’d like to have available on your system. Add those packages to your user-settings.nix in the respective list.

To “activate” a new configuration, always execute

home-manager switch

Out-of-office notifications via sieve-connect

The file message contains a template for the message you wish to be shown. Fill in your details there before using the script.

To activate the notification, execute

./sieve/sieve.sh activate

Note: you will be asked for you IMAP/Sieve username (only) on first use. This is your mail address, not your LDAP user name.

To deactivate the notifications, execute

./sieve/sieve.sh deactivate

About

An opinionated starter setup for AG employees

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published