https://github.com/boxdot/nixos-server
Configuration of my server based on nixos
https://github.com/boxdot/nixos-server
Last synced: about 1 year ago
JSON representation
Configuration of my server based on nixos
- Host: GitHub
- URL: https://github.com/boxdot/nixos-server
- Owner: boxdot
- Created: 2015-11-06T18:31:22.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-11-19T00:30:52.000Z (over 10 years ago)
- Last Synced: 2025-02-04T15:48:41.637Z (over 1 year ago)
- Language: Nix
- Size: 29.3 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Configuration of my server based on NixOS
## Initial setup
1. Install nixos.
2. Clone this repo into `/etc/nixos`.
3. The file `/etc/nixos/hardware-configuration.nix` generated by `nixos-generate-config` must remain in the latter directory.
4. Use `mkpasswd -m sha-512 > /etc/nixos/dima.passwd` to store user password on the server.
5. Rebuild configuration with `nixos-rebuild switch`.
6. Enjoy!
## Persistent data
* postgresql : `/data/postgresql`
* elasticsearch : `/data/elasticsearch`
* kibana : `/data/kibana`