Skip to content
This repository was archived by the owner on Aug 20, 2025. It is now read-only.

ImYuugen/nixos-config

Repository files navigation

This repo has moved !

It is now on Codeberg at https://codeberg.org/Yuugen/nixos-config

My totally based system flake

Hi, this is my system flake and daily driver.

Things that I think are cool

  • Modules system
  • Cachy kernel for improved performance
  • Git hooks

Structure

flake.nix

The entry point of this config. Exposes a lot of stuff

  • nixosModules: Self defined system options and modules
  • nixosConfigurations: Hosts a.k.a machines a.k.a computers definitions
  • homeManagerModules: Self defined user options and modules
  • homeConfigurations: Home a.k.a user definitions
  • devShells: Everything needed to work on this flake
  • checks.<system>.pre-commit-check: Pre commit hooks

homes/

User definitions, every subfolder is a user and is imported in default.nix

hosts/

Machine definitions, every subfolder is a host/machine and is imported in default.nix

lib/

Self defined utilitary functions

modules/

home/

User side modules/options to be imported and changed (or not) by users. Provides good enough default values.

system/

Same but host side

overlays/

Local modifications on packages

pkgs/

Self packaged stuff

profiles/

home/

Default set of options for users

system/

Same but host side

Limitations

Nothing, this flake is perfect… except for:

  • Somehow worse performance than on stock CachyOS

TODOs

  • [ ] Match stock CachyOS performance
  • [ ] Manage secrets with Nix
    • [ ] Hide from /nix/store
    • [ ] Encrypt files on github
  • [ ] Manage theming through Nix

Contributing

If you wish to expand on this config, you may open a pull request or fork this repo yourself. I would be extremely grateful if you made pull requests for modules you deem interesting.

My only request is that you follow the Conventional Commits and use nixfmt

Credits

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published