An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          


Kitsune

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
```