My NixOS configuration
Find a file
2024-12-21 22:45:14 -07:00
home-manager Nix-on-droid fixes 2024-12-21 22:33:52 -07:00
hosts Nix-on-droid fixes 2024-12-21 22:33:52 -07:00
nix-on-droid/ty-pixel Add basic necessities to nix-on-droid 2024-12-21 22:43:45 -07:00
packages Package rescrobbled from an open nixpkgs PR, add home-manager module for it 2024-12-04 13:37:30 -07:00
utils Nix-on-droid fixes 2024-12-21 22:33:52 -07:00
.gitattributes Squash whole repo 2024-12-02 06:52:33 -07:00
.gitignore Add nix builds to the gitignore 2024-12-21 22:45:14 -07:00
flake.lock I did some more stuff 2024-12-21 11:17:06 -07:00
flake.nix Nix-on-droid fixes 2024-12-21 22:33:52 -07:00
LICENSE.md Squash whole repo 2024-12-02 06:52:33 -07:00
README.md Package rescrobbled from an open nixpkgs PR, add home-manager module for it 2024-12-04 13:37:30 -07:00
secrets.example.nix Package rescrobbled from an open nixpkgs PR, add home-manager module for it 2024-12-04 13:37:30 -07:00

Ty's NixOS Configuration

Config Setup

The three main parts of my config are the home-manager/, hosts/, and packages/ folders. In addition to these, I also have a secrets.nix file which needs to be populated with secrets as structured in secrets.example.nix. Soon, I will have a way to export and import this file to/from a bitwarden vault, for backup purposes.

Home manager

This folder handles everything user-scope related, including most of my installed packages. I try and keep most configuration isolated to the user scope for simplicity and isolation. The main entrypoint for this configuration is in home-manager/, but all the real configuration is located in home-manager/modules for organizational purposes. Packages installed in the user scope are located in home-manager/modules/packages.nix, and everything else is largely configuration for those programs. This also contains KDE Plasma configuration using the https://github.com/nix-community/plasma-manager module for home-manager, to configure the desktop environment and some associated KDE programs - this is largely mixed with the other home-manager options, that might change soon.

Hosts

This folder contains sub-folders for each of my NixOS hosts, of which there is only one for now (my laptop). Each has a default.nix entrypoint and the rest of the configuration is kept in a modules folder, just like the home-manager configuration. This isn't yet abstracted and easily re-usable for new hosts (I have no need for it given I only have one NixOS install), but might be in the future.

Packages

This folder contains all of my personally-made nix packages. This is mainly just packages I can't seem to find on the interwebs, like some themes. Theoretically they could be used by someone else, but I haven't quite made my config modular yet, so don't try.

Package License Original Link
BeautyLine (Garuda) GPLv3 https://gitlab.com/garuda-linux/themes-and-settings/artwork/beautyline
Magna Splash 6 GPLv3 https://www.pling.com/p/2136626/
Rescrobbled GPLv3 https://github.com/NixOS/nixpkgs/pull/274553 (unmerged nixpkgs PR by negatethis)