My NixOS configs(backup)
Find a file
2022-02-17 14:49:32 -05:00
_sources calendar-vim: ∅ → a7e73e02c92566bf427b2a1d6a61a8f23542cc21 2022-02-15 08:05:21 -05:00
doom.d feat(emacs): Add emacs/doom-emacs config 2022-02-07 06:37:56 -05:00
home feat!(hm): Move packages file 2022-02-17 14:47:24 -05:00
hosts initial commit 2022-02-04 07:53:04 -05:00
modules feat!(pkgs): Remove firefox pkgs 2022-02-07 15:07:03 -05:00
pkgs feat(pkgs): Add blank epub-thumbnailer package 2022-02-17 14:48:11 -05:00
users/mrhedgehog feat!(users): Delete some users 2022-02-06 20:23:37 -05:00
.editorconfig feat(dev): Add editorconfig 2022-02-15 06:09:40 -05:00
.gitignore feat!(conf): Remove nix.conf from git 2022-02-15 06:07:39 -05:00
background.png make this work again 2022-02-01 17:52:30 -05:00
flake.lock chore: Update flake.lock 2022-02-17 14:48:33 -05:00
flake.nix feat!(flake): Remove tree-sitter overlay 2022-02-17 14:49:32 -05:00
format chore: Update formatting script 2022-02-07 15:07:31 -05:00
home.nix feat(nvim): Add init.generated.lua 2022-02-15 06:11:24 -05:00
nvfetcher.toml chore: apply stash 2022-02-16 10:19:00 -05:00
README.md replace readme 2022-01-28 09:25:41 -05:00
statix.toml misc changes 2022-01-31 12:35:11 -05:00

Mr Hedgehog's Nix Config

Welcome to my ~

This is a nix config, created with the literate programming technique. It uses the md-tangle tool and all the files in this directory to achive that.

The main goal of literate programming is to make it so documentation never seperates from code. That's why I am doing my config like this.

Another reason to do this is because of the strangeness of the nix configuration language that I use.

All this is to say that I believe that literate programming is amazing, and that everyone should use it, as it emphasizes good documentation.

Directory Structure

When I refer to a .nix file, You will find it under the same filename, but with a .md extension instead. So home.nix refers to the home.md file, which is then tangled into the home.nix file. I include the generated nix files in this repository only for the purpose of bootstrapping my config, and not as a single source of truth.

Many other files are also tangled, like my non-nix configs.

/
|
|- cachix
|   |- This is my folder for importing nix binary caches
|   |- It includes a default.nix so that I can import it, and 1 file per cache.
|
|- config
|   |- Contains all of my non-nix config files
|   |- As well as any nix config files that are too long to include in home.nix
|
|- hosts
|   |- Per-machine configuration
|   |- zaphod.nix
|   |   |- My laptop's configuration
|
|- nix
|   |- Just some general nix configuration
|   |- nix.conf
|   |   |- Nix's config file.
|
|- pkgs
|   |- Custom packages that get imported into the nixpkgs tree at runtime.
|
|- users
|   |- Per-user config.
|   |- mrhedgehog.nix
|   |   |- My personal config
|   |- root.nix
|   |   |- Root user configuration

Useful Resources I've found

The Unofficial NixOS Wiki

https://nixos.wiki

Probably one of the most helpful sites around, as it contains a wealth of information on many things nix-related, as well as info on the ecosystem itself.