Skip to content

Repository files navigation

My NixOS and Home-Manager configuration

This repository contains the configuration of my personal computer with Nix, NixOS and Home-Manager.

You're welcome to use any of this! Just be aware that this is my personal learning playground where I'm not worried about scalability or design perfection since I'm the only user.

Structure of this repository

This is my second attempt of a NixOS and Home-Manager configuration. I will try to keep this a bit simpler then the previous one. I started with a single user and host configuration and wanna see how far I get with just that, before making the configuration more complex.

The following shows the current file structure:

mynix
│
├── home            # Everything that belongs into $XDG_HOME (Home-Manager)
│   ├── apps        # GUI applications
│   ├── cli         # CLI setup and command line applications
│   ├── desktop     # Desktop setup and Desktop Utilities
│   └── neovim      # Beloved $EDITOR
│
├── host            # System wide configuration
│   ├── services    # System services
│   └── users       # System users (links to ./home/<username>.nix)
│
└── overlays        # Customization of packages

How to run

This configuration can either be used with NixOS or Home-Manager on any other distribution with Nix installed.

Use config under NixOS

sudo nixos-rebuild switch --flake ~/mynix#saxum

User config with Home-Manager

sudo nixos-rebuild switch --flake ~/mynix#saxum

Credits

Most of the things I know about Nix, I learned through examples and explanations of others. I really appreciate them taking the time to write that stuff down to make it easier for me to understand, use and love Nix.

The following is a list of people and resources that helped me a lot in configuring my system. I try to add links to the places I took inspiration / stole configuration from. Still there's a bunch of older stuff, of which i can't recall where i have it from. Thanks to anyone sharing their knowledge!

References

About

All the foo I need on my system /w Nix, NixOS & Home-Manager

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages