https://github.com/majewsky/nixos-modules
Configuration modules for my NixOS-based systems
https://github.com/majewsky/nixos-modules
Last synced: 2 months ago
JSON representation
Configuration modules for my NixOS-based systems
- Host: GitHub
- URL: https://github.com/majewsky/nixos-modules
- Owner: majewsky
- License: agpl-3.0
- Created: 2019-01-18T14:59:26.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-04-07T20:20:18.000Z (2 months ago)
- Last Synced: 2025-04-07T21:30:35.395Z (2 months ago)
- Language: Nix
- Size: 2.02 MB
- Stars: 8
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nixos-modules
My NixOS modules.
As a general pattern, everything in the top-level directory gets imported by `default.nix`.
The modules in `platforms/` only get imported on matching machines.## Bootstrap
Install NixOS according to its manual, using `bootstrap/configuration.nix`.
```
sudo install -d -m 0700 -o stefan -g users /x
git clone https://github.com/majewsky/nixos-modules /x/src/github.com/majewsky/nixos-modules
```Copy the machine's public key from `/etc/ssh/ssh_host_ed25519_key.pub` into the secrets repo. Re-render and commit the secret payloads.
```
cd /x/src/github.com/majewsky/nixos-modules
git pull # to get the re-rendered secrets
make switch
```