Skip to content

pSub/configs

Repository files navigation

Pascal's Configuration Files

These are the configuration files I actively use. I use them to set up my notebook as well as my small server.

Characteristic Features

  • Xmonad: When a window is in focus, the mouse cursor is placed in the center of the window.
  • Server: Module systemd-email-notify that notifies via email when any service fails.
  • Nixpkgs: Packages are installed in custom environments that are combined in an attribute all-env.
  • Nixpkgs: The channel (nixpkgs version) is defined in config.nix.
  • Xmodmap: Capslock is mapped to (left) control.

Installation

As this repository contains configurations for multiple systems, there is no way to install them all at once.

Dot Files

You can install the dot files via a GNU stow wrapper. Note that the wrapper requires Nix. Calling the wrapper without any additional arguments stows (i.e. soft-links) the dot files into your home directory.

./stow-it

All arguments you pass to the wrapper are passed directly to GNU stow. This allows you to preview what the installation will look like

./stow-it --stow --simulate

to update an existing installation

./stow-it --restow

or to remove all links that were created by GNU stow.

./stow-it --delete

NixOS Configuration for Thinkpad X220

I have one NixOS configuration file and separate files with hardware configurations for different notebooks. As this is structure is very static, you have to copy the files by hand to use my configuration.

NixOS Configuration for ARM64 Server

Currently, I am managing one server via nixos-rebuild and Github Actions. With a bit of tweaking, you should get this configuration running. Some things that you will definitely need to adapt: Keys / passwords, hostname and device names.