|
1 | 1 | # nixos
|
| 2 | + |
| 3 | +<div align="center"> |
| 4 | + <img src="https://img.shields.io/badge/Uses-Flake-4c72bb?style=for-the-badge&logo=nixos" alt="Nix" /> |
| 5 | + <img src="https://img.shields.io/badge/Desktop-Hyprland-00c0e5?style=for-the-badge&logo=hyprland" alt="Python" /> |
| 6 | +</div> |
| 7 | + |
| 8 | +<br /> |
| 9 | + |
| 10 | +This is my personal [NixOS](https://nixos.org/) configuration for my desktops and servers. |
| 11 | + |
| 12 | +> [!IMPORTANT] |
| 13 | +> I do not recommend anyone to use it since it is heavily personalised to my needs. However, the reason I share this repository is to simplify my deployments and allow others, especially new NixOs users, to explore different config structures to choose the best of all worlds. |
| 14 | +
|
| 15 | + |
| 16 | + |
| 17 | +## Synopsis |
| 18 | + |
| 19 | +After restructuring my config over and over again, I came up with the following structure, which works for me very good at the moment: |
| 20 | + |
| 21 | +``` |
| 22 | +. |
| 23 | +├── docs |
| 24 | +│ └── documentation-related files, e.g. screenshots, ... |
| 25 | +├── dots |
| 26 | +│ └── dotfiles, e.g. neovim, ghostty, ... |
| 27 | +├── home |
| 28 | +│ ├── desktop |
| 29 | +│ │ └── home-manager config for desktop hosts |
| 30 | +│ ├── headless |
| 31 | +│ │ └── home-manager config for non-desktop hosts, e.g. servers |
| 32 | +│ └── shared config for both desktop and headless hosts |
| 33 | +├── hosts |
| 34 | +│ ├── desktops |
| 35 | +│ │ ├── orion |
| 36 | +│ │ │ └── nixos config for the orion desktop host |
| 37 | +│ │ ├── vega |
| 38 | +│ │ │ └── nixos config for the vega desktop host |
| 39 | +│ │ └── shared config for all desktop hosts |
| 40 | +│ ├── servers |
| 41 | +│ │ ├── sirius |
| 42 | +│ │ │ └── nixos config for the sirius server host |
| 43 | +│ │ └── shared config for all server hosts |
| 44 | +│ └── shared config for both desktops servers |
| 45 | +├── modules |
| 46 | +│ └── nixos modules for various services and apps |
| 47 | +├── scripts |
| 48 | +│ └── useful scripts |
| 49 | +├── secrets |
| 50 | +│ └── sops secret files |
| 51 | +├── wallpapers |
| 52 | +│ └── wallpapers used by desktop hosts |
| 53 | +``` |
| 54 | + |
| 55 | +## Credits |
| 56 | + |
| 57 | +This configuration takes advantage of some other repositories, including: |
| 58 | + |
| 59 | +- [sops](https://github.com/Mic92/sops-nix) |
| 60 | +- [home-manager](https://github.com/nix-community/home-manager) |
| 61 | +- [hyprland](https://github.com/hyprwm/Hyprland) |
| 62 | +- [wallpapers](./wallpapers/README.md) |
0 commit comments