{"id":17681745,"url":"https://github.com/mipmip/nixos","last_synced_at":"2025-08-24T16:33:15.702Z","repository":{"id":41099988,"uuid":"411579462","full_name":"mipmip/nixos","owner":"mipmip","description":"Monorepo with Nix \u0026 Home-Manager configurations of my Linux, macOS fleet","archived":false,"fork":false,"pushed_at":"2025-06-24T15:04:10.000Z","size":23140,"stargazers_count":13,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-25T23:05:56.694Z","etag":null,"topics":["dotfiles","home-manager","linux","macos","monorepo","nix","nixos","runme","vim"],"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/mipmip.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":"2021-09-29T07:50:28.000Z","updated_at":"2025-06-24T15:04:14.000Z","dependencies_parsed_at":"2023-10-04T15:36:09.223Z","dependency_job_id":"9e4bfeef-038d-450b-9dc3-e0ec04717c8b","html_url":"https://github.com/mipmip/nixos","commit_stats":{"total_commits":1325,"total_committers":2,"mean_commits":662.5,"dds":0.01132075471698113,"last_synced_commit":"7886dbff6a28d1bcecacd6663fb6029f7e134c00"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mipmip/nixos","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mipmip%2Fnixos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mipmip%2Fnixos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mipmip%2Fnixos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mipmip%2Fnixos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mipmip","download_url":"https://codeload.github.com/mipmip/nixos/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mipmip%2Fnixos/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271902490,"owners_count":24841222,"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","status":"online","status_checked_at":"2025-08-24T02:00:11.135Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","home-manager","linux","macos","monorepo","nix","nixos","runme","vim"],"created_at":"2024-10-24T09:12:03.056Z","updated_at":"2025-08-24T16:33:15.658Z","avatar_url":"https://github.com/mipmip.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nix, NixOS and Home Manager for mipmip's machine park\n\nThis is my mono-repository for my machines configuration and my dotfiles.\n\n## Features\n\n- multi machine\n- flakes\n- Custom patched Suckless Terminal (st)\n\n### Mentional NUR's\n\n- A 32 bits Brother printer driver\n- Some Gnome Extensions packed directly from Github (useful is maintainers keep behind supporting the latest Gnome Versions)\n- mip.rs, a fast and suckless markdown viewer written in Rust.\n- WIP: Skull, a tool for managing git working copies on demand.\n- some NUR crystal apps\n\n## Usage\n\nclone:\n\n```\ncd ~\ngit clone --recurse-submodules git@github.com:mipmip/nixos.git\ncd /etc\nmv /etc/nixos /etc/nixos.bak\nsudo ln -s /home/pim/nixos nixos\n```\n\nnixos-rebuild:\n\n```\ncd /etc/nixos\nsudo nixos-rebuild switch --flake .#ojs\n```\n\nHome Manager:\n\n```\ncd /etc/nixos\nhome-manager switch  --flake .#pim@ojs --impure\n```\n\n### Add Agenix file\n\n1. add file registration in secrets/secrets.nix\n2. cd secrets\n3. create file or edit file `agenix -e aws-credentials-copy.age`\n4. add file purpose to modules/nix-agenix.nix\n\nexample: `agenix -i ~/.ssh/id_ed25519 -e aws-credentials-copy.age`\n\n### TODO\n\n- [x] fix NUR url, maybe nur.nix\n- [x] home manager flake\n- [x] delete i-am-desktop\n- [x] new method i-am-secondbrain\n- [ ] public features and documentation Usage\n- [ ] setup firefox profiles: https://discourse.nixos.org/t/help-setting-up-firefox-with-home-manager/23333\n- [ ] install firefox language packs from nur\n- [ ] tmux A or B\n\nLego1\n- [x] swap alt/win keys\n- [x] commit nixos\n- [ ] swap ctrl/fn keys\n- [ ] wayland and scaling\n\nRodin\n- [ ] commit nixos\n\n### MacOS Provisioning\n\nFor macOS provisioning I only use Home-Manager from Nix. Cli tools are declared\nin home-manager/programs/macos-bundle.nix. Other mac-apps are in\n`home-manager/files-macos/Brewfile`. Install them with `brew bundle install`\n\n- install [Homebrew](https://brew.sh/)\n- install Nix on mac](https://nixos.org/download.html#nix-install-macos).\n- then install Home Manager. See [Home Manager Manual](https://nix-community.github.io/home-manager/index.html#sec-install-standalone)\n\n### NixOS Programming\n\n#### Check for missing modules\n\nwhen refactoring it's nice to quickly see which hosts have missing modules. To\nsee this run:\n\n```\n./RUNME.sh missing_modules\n```\n\n### Home-Manager Depreciated (remove once tested)\n\nMake sure home-manager is installed. On Mac I home-manager as single user\ninstall. On nixos home-manager is installed automatically.\n\nCreate home dir conf:\n\n```sh\nmkdir -p ~/.config/nixpkgs\necho \"{\\n  allowUnfree = true;\\n}\" \u003e ~/.config/nixpkgs/config.nix\n```\n\nMake the symlink `~/.config/nixpkgs/home.nix` pointing to one of the home-confs\nlocated in `~/nixos/home-manager/`\n\n\n```sh\nln -s ~/nixos/home-manager/home-[some-home-conf].nix ~/.config/nixpkgs/\n```\n\nTest configuration with:\n\n```\nhome-manager switch\n```\n\n### Home-Manager\n\n```\nhome-manager switch  --flake .#pim --impure\n```\n\n## Features\n\n### Linux Desktop Highlights\n\nI use GNOME as desktop environment with a few extensions to give me some\nfeatures I'm used too from the time I used macOS as primary OS.\n\n### Programming and writing\n\nI payed a lot of time optimizing my terminal and vim configuration. I use\n[St](https://st.suckless.org) with a few patches for better aesthetics.\n\nMy St/Vim writing configuration has a larger line height, a dedicated font, a\npure white background together with a grayscale writing theme. Here's a pic\nshowing my writing environment.\n\n![writing in vim](./docs/gelukkigmetvim.png)\n\n## Private\n\nStage 2 of my security strategy is a git submodule with some configurations not\nrelevant for public. This repo does not contain passwords or secrets.\n\n\n# Pine Phone Pesto\n\n## Build Image\n\nBuild from any nix machine with:\n\n```sh\nnix build './#pinephone-img'\n```\n\nIf nix complains about some \"experimental features\", then add to the host's nix\nconfig: `nix.extraOptions = \"experimental-features = nix-command flakes\";`\n\nflash with:\n```sh\nsudo dd if=$(readlink result) of=/dev/sdb bs=4M oflag=direct conv=sync status=progress\n```\n\nThen insert the SD card, battery into your pinephone and hold the power button\nfor a few seconds until the power LED turns red. after releasing the power\nbutton, the LED should turn yellow, then green. you'll see the \"mobile NixOS\"\nsplash screen and then be dropped into a TTY login prompt.\n\n\n## Update with copy-closure\n\nbuild on host machine\n\n```\nnix build .\\#nixosConfigurations.pinephone.config.system.build.toplevel --print-out-paths\n```\n\ncopy to pinephone\n\n```\nnix-copy-closure --to root@192.168.13.103 ./result\n```\n\non pinephone \n\n```\n/nix/store/nid92px7zybggpxh5j6bwzcpmjh10p8h-nixos-system-nixos-22.05.20220520.dfd8298/bin/switch-to-configuration switch\n```\n\n# Nix-on-Droid (fairPhone)\n\n## Setup nix-on-droid\n\nln -s ~/nixos/nix-on-droid ~/.config/\n\n## Apply nix config\n\nnix-on-droid switch -F ~/.config/nix-on-droid/flake.nix\n\n## SSH Connect\n\nssh nix-on-droid@xxxxx -p8022\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmipmip%2Fnixos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmipmip%2Fnixos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmipmip%2Fnixos/lists"}