aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 4137dde55624e5ee48311e0b54a18e8d92e79bb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# dotfiles 2.0

This repository fully describes my current NixOS user environment in a completely reproducible manner using [home-manager](https://github.com/rycee/home-manager/).
Coupling this with the declarative system configuration in [nixos_system](https://code.kummerlaender.eu/nixos_system) I am able to trivially maintain a common computing environment across multiple machines.
Furthermore it is possible to reproduce this environment on a new computer within half an hour given a sufficiently good network connection.

## Overview

The desktop environment consisting of XMonad, custom theming and a selection of utilities and applications is configured by the derivations in the `gui` folder. e.g. check out `gui/xmonad.nix` and `gui/gtk.nix` to get started.

`home-manager` doesn't have to be installed in the user environment and is only required for applying the configuration.

```sh
nix-shell --command "home-manager switch"
```

This shell also provides the `niv` utility used for updating the fixed channels.

## Host specific config

The `host` folder contains a selection of host specific definitions to be selected by symlinking the desired configuration as `host/current.nix`.

## Modules

Recently I started to develop a kind of _module_ to generate application shortcuts that are then easily launchable via Rofi. This is very useful for quickly starting shells and editors in project-specific `nix-shell` environments or maintaining generic playground environments for various programming languages. See `tasks/default.nix` and `module/tasker.nix` for details.