niksos/README.md
jacekpoz 23f5aaaf45
huge options refactor
due to being on a wifi and my sim card not being able to do its job
properly this might have some errors

`nix flake check` gave me none for the current host but tbh who knows

this commit moves everything from `options` to `hosts/common` and
modifies the `createHost` function to import part of the files under
that directory by default

there's also a `hosts/common/optional` which is still being imported in
`profile.nix` but now in a better way using `lib.path.append` in tandem
with `lib.lists.map`
2024-09-01 20:31:24 +02:00

54 lines
1.7 KiB
Markdown

# niksos
a modular flake containing configurations for most of my machines
I try to keep this COMPLICATED so other people can NOT learn from my config >:-)
## directory structure
```
niksos/
├───hosts/ (machine specific configuration)
│ ├───chmura/ [HP t620 PLUS Quad Core TC]
│ ├───del/ [Dell Latitude 7320 Detachable]
│ ├───hape/ [HP EliteBook 840 G2]
│ ├───niks/ [ASUS ROG Strix G513QY]
│ ├───work/ [undisclosed model, might change]
│ └───common/ (shared configs)
│ ├───core/ (imported on all hosts)
│ ├───desktop/ (imported on all desktops)
│ ├───server/ (imported on all servers)
│ └───optional/ (imported in a host's `profile.nix`)
├───modules/ (custom modules you can enable under `poz`)
└───secrets/ (agenix secrets)
```
## cool flakes
flakes I ~~stole~~ took inspiration from
https://github.com/NotAShelf/nyx (goated)
<br>
https://github.com/n3oney/nixus
<br>
https://github.com/sioodmy/dotfiles
<br>
https://github.com/AlephNought0/Faery
<br>
https://git.outfoxxed.me/outfoxxed/nixnew
<br>
https://github.com/fufexan/dotfiles
<br>
https://github.com/raidenovich/OuterHeaven
<br>
https://github.com/roastedcheese/nicks
<br>
https://github.com/EmergentMind/nix-config
## other nix resources
cool stuff that helped me write this config
https://kokada.dev/blog/an-unordered-list-of-hidden-gems-inside-nixos/
<br>
https://unmovedcentre.com/posts/anatomy-of-a-nixos-config/
## license
public domain steal all you want just don't copy paste the whole flake and say you made it thanks :-)