https://github.com/Educorreia932/Yokai
❄️ Nix configuration for my machines
https://github.com/Educorreia932/Yokai
dotfiles home-server nix nixos nixos-configuration
Last synced: 27 days ago
JSON representation
❄️ Nix configuration for my machines
- Host: GitHub
- URL: https://github.com/Educorreia932/Yokai
- Owner: Educorreia932
- Created: 2021-03-29T10:05:44.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2025-09-09T23:49:38.000Z (28 days ago)
- Last Synced: 2025-09-10T02:57:46.537Z (28 days ago)
- Topics: dotfiles, home-server, nix, nixos, nixos-configuration
- Language: Nix
- Homepage:
- Size: 12.3 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![]()
Yōkai
This is my personal [Nix(OS)](https://nixos.org/) configuration that I use across my machines.
> Illustrations by [いらすとや](https://www.irasutoya.com/2013/05/blog-post_14.html)
## 🗃️ Contents
- [hosts/](hosts/) - Host-specific configuration
- [lib/](lib/): Helper functions and attributes
- [mixins/](mixins/) - Individual application configuration
- [modules/](modules/) - Modules that can be enabled and configured through options
- [overlays/](modules/) - Overlays to `nixpkgs`
- [pkgs/](pkgs/) - Custom packages definitions
- [secrets/](secrets/) - Encrypted secrets## 💻 Hosts
| Icon | Name | Description | Hardware | System |
|:----:|------------|------------------------|------------------------------------|---------------|
| 🐈⬛ | `bakeneko` | Personal laptop (new) | ASUS ROG Zephyrus G16 (2024) GU605 | Windows (WSL) |
| 🕷️ | `jorogumo` | Work laptop | MacBook Pro M3 | macOS |
| 👺 | `tengu` | Virtual private server | Hetzner Cloud Server | NixOS |## 📜 System Management
### ⚒️ Rebuild (NixOS)
```sh
sudo nixos-rebuild switch --flake .#
```### ⚒️ Rebuild (Darwin)
```sh
darwin-rebuild switch --flake .#
```### 🔄 Update
To update the `flake.lock` file:
```sh
nix flake update
```### ♻️ Garbage Collection
To remove unused packages:
```sh
sudo nix-collect-garbage
```