Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mbund/nix-config
Personal NixOS and home-manager configuration for all my machines
https://github.com/mbund/nix-config
deploy-rs dotfiles home-manager nix nixos
Last synced: 3 months ago
JSON representation
Personal NixOS and home-manager configuration for all my machines
- Host: GitHub
- URL: https://github.com/mbund/nix-config
- Owner: mbund
- License: unlicense
- Created: 2022-06-24T17:27:34.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-07T19:40:06.000Z (about 1 year ago)
- Last Synced: 2024-04-24T03:22:34.083Z (10 months ago)
- Topics: deploy-rs, dotfiles, home-manager, nix, nixos
- Language: Nix
- Homepage:
- Size: 3.45 MB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
[![NixOS](https://img.shields.io/badge/NixOS-unstable-9cf.svg?style=flat-square&logo=NixOS&logoColor=white)](https://nixos.org)
![License](https://img.shields.io/github/license/mbund/nixos-config?color=dgreen&style=flat-square)## setup
Look over the commands in an [install.sh](hosts/kumitate/install.sh) and execute them one by one. To decrypt secrets follow the following rough instructions:
- Copy over `/etc/ssh/ssh_host_*` to `/state/etc/ssh/ssh_host_*`
- Add the `/etc/ssh/ssh_host_ed25519_key.pub` key and ip address to `nix/hosts.nix`
- Generate password with `mkpasswd -m sha-512` and make a secret with `agenix -e my/path/to/secret`
- Rekey all secrets with `agenix -r````
nixos-install --no-root-password
```## deploy
You can also use [deploy-rs](https://github.com/serokell/deploy-rs) to deploy remotely.
## also check out
- [lovesegfault/nix-config](https://github.com/lovesegfault/nix-config)
- [notusknot/dotfiles-nix](https://github.com/notusknot/dotfiles-nix)