Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kiruyamomochi/nix
nix
https://github.com/kiruyamomochi/nix
Last synced: about 1 month ago
JSON representation
nix
- Host: GitHub
- URL: https://github.com/kiruyamomochi/nix
- Owner: KiruyaMomochi
- Created: 2022-12-24T21:32:15.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-09T04:15:51.000Z (about 2 months ago)
- Last Synced: 2024-11-09T05:20:32.598Z (about 2 months ago)
- Language: Nix
- Size: 903 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# KiruyaMomochi's Nix config
For all my hosts see [hosts](hosts/README.md).
## Concept
The basic idea is:
## TODO
- [ ] https://tailscale.com/kb/1320/performance-best-practices#ethtool-configuration
- [ ] Monitor S3 usage.
- [ ] Move Telegraf to a custom module.
- [ ] Add Log monitoring.
- [ ] Add `mapPackage` function that do not use `default.nix` as package name, but `package.nix` instead, following [Name-based package directories](https://github.com/NixOS/nixpkgs/blob/master/pkgs/by-name/README.md#name-based-package-directories).
- [ ] How to specify a package to dependend on another package under `packages/`?## References
- [hlissner/dotfiles](https://github.com/hlissner/dotfiles)
- [pedorich-n/home-server-nixos](https://github.com/pedorich-n/home-server-nixos)## Old way to handle sops secrets in-place
Using a .gitattributes file with the following cotent
```
hosts/**/secret.nix filter=git-sops diff=git-sops
```And Git config
```toml
[filter "git-sops"]
required = true
smudge = sops --decrypt --path %f /dev/stdin
clean = scripts/git-sops-clean.sh %f
```And a custom sops (`self.packages.${system}.sops`).