Skip to content

Commit 6d02fc8

Browse files
committed
Update README.md
1 parent ac7aba4 commit 6d02fc8

File tree

3 files changed

+61
-2
lines changed

3 files changed

+61
-2
lines changed

README.md

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,62 @@
11
# 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+
![Preview](./docs/preview.png)
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)

docs/preview.png

24.6 KB
Loading

home/editor.nix

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
{
2-
meta,
32
inputs,
4-
config,
53
pkgs,
64
pkgs-unstable,
75
...

0 commit comments

Comments
 (0)