{"id":13493532,"url":"https://github.com/colemickens/nixcfg","last_synced_at":"2025-05-16T03:03:55.905Z","repository":{"id":41224890,"uuid":"48925473","full_name":"colemickens/nixcfg","owner":"colemickens","description":"NixOS and Home-Manager configs for my devices. dotfiles, but way better","archived":false,"fork":false,"pushed_at":"2025-05-11T16:07:32.000Z","size":32756,"stargazers_count":423,"open_issues_count":12,"forks_count":9,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-05-11T16:22:44.184Z","etag":null,"topics":["dotfiles","nix","nix-config","nix-flake","nixos","nixos-mobile"],"latest_commit_sha":null,"homepage":"","language":"Nix","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/colemickens.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2016-01-02T22:08:53.000Z","updated_at":"2025-05-07T16:39:34.000Z","dependencies_parsed_at":"2024-04-21T17:56:59.015Z","dependency_job_id":"2da65ca3-7f22-4460-8c09-412dd6b3882a","html_url":"https://github.com/colemickens/nixcfg","commit_stats":{"total_commits":7916,"total_committers":5,"mean_commits":1583.2,"dds":"0.019327943405760495","last_synced_commit":"53bcc8d7aca0df73c1ff9356e67731c6e0dcd5a8"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colemickens%2Fnixcfg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colemickens%2Fnixcfg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colemickens%2Fnixcfg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colemickens%2Fnixcfg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/colemickens","download_url":"https://codeload.github.com/colemickens/nixcfg/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254459084,"owners_count":22074604,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dotfiles","nix","nix-config","nix-flake","nixos","nixos-mobile"],"created_at":"2024-07-31T19:01:16.195Z","updated_at":"2025-05-16T03:03:50.896Z","avatar_url":"https://github.com/colemickens.png","language":"Nix","funding_links":[],"categories":["Nix"],"sub_categories":[],"readme":"# nixcfg\n*Nix rules everything around me*\n\n\u003c!--[![builds.sr.ht status](https://builds.sr.ht/~colemickens/nixcfg.svg)](https://builds.sr.ht/~colemickens/nixcfg?)--\u003e\n\n- [Overview](#overview)\n- [Components](#components)\n- [Repo Layout](#repo-layout)\n- [Secrets](#secrets)\n- [Other Interesting Nix Repos](#other-interesting-nix-repos)\n\n## Overview\n\n* nix configuration for my laptop~s~, ~desktops~, ~sbcs~, ~phones~, and cloud servers\n* **nix flake**-powered\n* guaranteed to be **reproducible**\n* **immutable** *full* system configuration (**dotfiles**, but on steroids)\n\n#### notes\n\n* some commits may have empty commit messages, this is from me attempting to\n  use and learn [`jj`](https://github.com/martinvonz/jj).\n\n## Components\n\n* `home-manager` for user-based app/desktop configuration\n* `sops-nix` for secrets (encrypted at rest, per-host encryption)\n* `terranix` for cloud server creation/deletion automation\n* custom commands for easy gpg-over-ssh usage (`pkgs/commands.nix`)\n\n## Repo Layout\n\n(this sometimes drifts, but should be roughly accurate as of April 2023)\n\n* `cloud`\n  * automation and configuration for cloud servers\n  * powered by `terranix`\n* `docs`\n  * notes to self\n  * who knows what \"great\" ideas and tidbits it contains\n* `hosts` \n  * toplevel machine definitions\n  * `openstick`\n    * configuration for a $10USD LTE USB Modem Stick\n    * utilizes:\n      * [my fork of mobile-nixos](https://github.com/colemickens/mobile-nixos/tree/openstick)\n      * [my forked/hacked up copy of openstick's lk2nd with patches for my stick](https://github.com/colemickens/openstick-lk2nd)\n      * [my forked/hacked up copy of openstick's linux, can't remember why I have my own fork](https://github.com/colemickens/linux/tree/openstick)\n  * `installer` (meta, iso)\n    * configuration for a custom `x86_64-linux` installer image\n    * includes my SSH key and `sshd` enabled and most used programs\n    * see: `nix build .#extra.x86_64-linux.installer`\n  * `raisin` (laptop)\n    * former-daily-driver\n    * **Lenovo \"Yoga Slim 7 Pro-14ACH5 Laptop (ideapad) - Type 82MS\"**\n    * remote (KS, USA) `zrepl` (`zfs`) and `syncthing` backup target\n  * `zeph` (laptop)\n    * current daily-driver\n    * favorite, all-AMD, laptop ever\n    * **ASUS Zephyrus G14 (2022) - GA402RJ**\n    * dual-booting NixOS, of course, and Windows 11 for casual 120Hz/1600p gaming\n* `misc/`\n  * misc scripts\n  * buyer beware\n* `mixins/`\n  * individual application configuration (mostly via `home-manager`)\n  * mix of `home-manager` and `nixos` configuration\n  * (`libvirt`, `prs`/`gopass`, `git`, `gnupg`, `spotifyd`, `tailscale`, `wezterm`, etc)\n* `pkgs/`\n  * my own \"packages\"\n  * custom shell commands (gpg+ssh wrapper, etc)\n  * tip-of-tree package overrides for:\n    * `git-repo-manager`\n    * `nushell`\n    * `rio`\n    * `wezterm`\n* `profiles/`\n  * bits that compose machine \"personas\"\n  * `core.nix` - core bits, see also `mixins/common.nix`\n  * `interactive.nix` - headless systems\n  * `gui.nix` - baseline for GUI systems\n  * `gui-wayland.nix` - common tools for wayland/wlroots compositors\n  * `gui-sway.nix` - the start of my `sway` GUI configuration\n  * `addon-dev.nix` - pull devtool's shell deps into system\n  * `addon-laptop.nix` - common laptop bits, power management, etc\n  * `addon-asus.nix` - extras for my ASUS laptop\n  * `user-cole.nix` - my base `cole` user configuration\n* `secrets/`\n  * scripts to manage `sops` for `sops-nix`\n  * `sops-nix` is great...\n  * but `sops` is questionable-code-quality near-abandonware\n* `shells/`\n  * nix shells for various scenarios\n    * `_minimal.nix` - minimal shell base\n    * `ci.nix` - tools needed to drive CI for this repo\n    * `devenv.nix` - complete set of tools for Go/Rust/Nix development\n    * `uutils.nix` - experimentation with rust-based coreutils\n* `main.nu`\n  * a homegrown `nushell` (❤️) script for managing this repo\n  * updates/rebases my flake inputs\n  * updates/rebases my custom packages to tip-of-branch\n  * updates the lock file\n  * handles remote building and caching (without using nix's \"remote builders\")\n\n## Other Interesting Nix Repos\n\n- jtojnar: https://github.com/jtojnar/nixfiles\n  - particularly of note:\n    - use of NixGL to use GUI apps built with Nix on other Linuxes:\n      https://github.com/jtojnar/nixfiles/blob/522466da4dd5206c7b444ba92c8d387eedf32a22/hosts/brian/profile.nix#L10-L12\n- Mic92: https://github.com/Mic92/dotfiles\n  - in particular:\n    - https://github.com/Mic92/dotfiles/tree/master/nixos/images\n      - kexec stuff is neat\n      - base-config does a Hidden Service + announces over IRC, very cool\n- cole-h: https://github.com/cole-h/nixos-config\n- bqv: https://github.com/bqv/nixos\n- nixos-org-configurations:\n  - in particular:\n    - configs for building NixOS images containing MacOS VM guests\n      - https://github.com/NixOS/nixos-org-configurations/tree/master/macs/host\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcolemickens%2Fnixcfg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcolemickens%2Fnixcfg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcolemickens%2Fnixcfg/lists"}