Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/psub/configs
My configuration files
https://github.com/psub/configs
configs nix nixos shell
Last synced: 13 days ago
JSON representation
My configuration files
- Host: GitHub
- URL: https://github.com/psub/configs
- Owner: pSub
- Created: 2009-10-09T16:22:27.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2024-05-01T21:55:31.000Z (6 months ago)
- Last Synced: 2024-05-01T23:22:38.037Z (6 months ago)
- Topics: configs, nix, nixos, shell
- Language: Nix
- Homepage:
- Size: 1.81 MB
- Stars: 29
- Watchers: 7
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# 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](https://www.gnu.org/software/stow/)
wrapper. Note that the wrapper requires [Nix](https://nixos.org/nix/). Calling the
wrapper without any additional arguments _stows_ (i.e. soft-links) the dot files
into your home directory.``` shell
./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``` shell
./stow-it --stow --simulate
```to update an existing installation
``` shell
./stow-it --restow
```or to remove all links that were created by GNU stow.
``` shell
./stow-it --delete
```### NixOS Configuration for Thinkpad X220
I have one [NixOS](https://nixos.org/nixos/) [configuration](nixos/configuration.nix)
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.