Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/balsoft/nixos-config
Mirror of https://code.balsoft.ru/balsoft/nixos-config
https://github.com/balsoft/nixos-config
Last synced: 2 months ago
JSON representation
Mirror of https://code.balsoft.ru/balsoft/nixos-config
- Host: GitHub
- URL: https://github.com/balsoft/nixos-config
- Owner: balsoft
- License: other
- Created: 2018-06-05T19:29:08.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-05-17T14:02:18.000Z (5 months ago)
- Last Synced: 2024-05-31T08:35:35.871Z (4 months ago)
- Language: Nix
- Homepage:
- Size: 5.18 MB
- Stars: 240
- Watchers: 9
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# balsoft’s nixos configuration
## License
Most of this config is in public domain (see [LICENSE](./LICENSE)).
## Stuff that may be useful
### Secrets
Secrets are kept in a separate (private) git repository, encrypted with
gpg and decrypted at runtime using [secrets.nix](./modules/secrets.nix)
and [secrets-envsubst.nix](./modules/secrets-envsubst.nix). The repo is
`pass(1)`-compatible, so passwords are also stored there._pls no pwn_
### Themes
Themes for everything are generated from a custom base16 theme. The theme
is defined in [themes.nix](./modules/themes.nix), and the generation is spread all around
[modules](./modules).### Tmpfs root
To prevent extraneous state from clinging on the drive, I am using tmpfs
root on my two main devices. It is implemented in [persist.nix](./modules/persist.nix).### Easy Wireguard setup module
Copied from notgne2 with permission to redistribute as public domain software.
Can be found in [ezwg.nix](./modules/ezwg.nix)## Installing it on your machine
1. Add a config for your device to `machines` (it has to set `deviceSpecific.devInfo`, import your `hardware-configuration.nix` and one of the profiles, and contain a `system` file);
2. `sudo nixos-rebuild test --flake .`