My own nixpkgs (for nix + home-manager). Used for nix on my current Ubuntu Setup. Lives inside ~/.config/nixpkgs
Go to file
2024-05-13 20:35:56 +02:00
.git-crypt Add 1 git-crypt collaborator 2022-05-24 11:54:54 +02:00
assets Add TYPO3 Extension Repository as Firefox search 2024-04-18 10:06:37 +02:00
gpg/publickeys Migrate GPG to ni / home-manager 2022-05-30 19:17:10 +02:00
home Update project specific stuff 2024-05-13 20:35:56 +02:00
overlays Remove yt-dlp forward patch 2024-01-02 17:09:00 +01:00
projects Update project specific stuff 2024-05-13 20:35:56 +02:00
systems/hikari Enable apple facetime again 2024-04-30 17:53:14 +02:00
.gitattributes Add reuter VPN 2023-10-11 09:24:43 +02:00
.gitignore Configure registry for customer projects 2022-02-11 10:03:01 +01:00
config.nix Remove no longer secure nodejs version 2023-08-31 08:00:31 +02:00
home.nix gpg-agent: migrate to 'pinentryPackage' 2024-03-28 19:01:54 +01:00
readme.rst Migrate different project related folders into one 2023-07-19 07:53:46 +02:00

nixpkgs / nix home-manager

I currently use Ubuntu and installed nix alongside. This repository contains my personal ~/.config/nixpkgs folder, for sharing, inspiration and retrieving feedback.

This includes home.nix to maintain home-manager, see:


This is my personal setup for my local laptop running Ubuntu. I share this for free so everyone can have a look and inspiration or provide feedback to me.

This is not intended to be used by anyone else just by copy and pasting or cloning.


Install (clone) into ~/.config/nixpkgs.

Create ~/.config/home-manager and create a symlink from ~/.config/nixpkgs/home.nix to ~/.config/home-manager/home.nix.

Install home-manager see: Execute home-manager switch

Folder structure


contains assets used within nix. E.g. images used for search engines configured for Firefox.


contains everything related to gpg, like public keys.


is related to extras for home-manager.


Holds configuration files. home-manager doesn't provide modules for all programs.


Holds nix modules. Not all programs provide modules out of the box. I add my own here, which I might create PRs for in future.


Holds custom nix packages. Not all programs are available. Foreign programs are added here. Custom programs / scripts are added within subfolder custom.


Holds home-manager programs. entries. Each file corresponds to a single program.


Holds home-manager services. entries. Each file corresponds to a single service.


Holds files for most home.* modules. I don't like to clutter a single file with to many entries. Instead home.nix loads files from within here. Each file name should correspond to the home sub option / module.


Holds overlays for existing packages. E.g. in order to patch them.


Holds shells and compose.yaml files for customer projects. The customers are not aware of Nix and I don't want to stress them. I use this folder to have them in version control and symlink them into the project.


Holds nix os configuration for different systems. Each system has its own subfolder.


Update can be done via custom-update-system package which is a custom package.

Manual changes

List of manual needed changes for various reasons.

  • Use xdm as display manager, or: Allow gdm3 to use xsessions as login. Add the following content as `/usr/share/xsessions/xsession.desktop`:

    [Desktop Entry]
    Comment=This session uses the custom xsession file

    This is used by gdm3 (installed via ubuntu host) to allow logging in via xsession which will pick up all the settings generated by home-manager.

    Do not forget to call sudo desktop-file-install xsession.desktop to make system aware of the file.




Some resources I found useful (in no particular order):