{"id":13631163,"url":"https://github.com/bbigras/nix-config","last_synced_at":"2025-04-04T15:07:52.815Z","repository":{"id":37256935,"uuid":"280971514","full_name":"bbigras/nix-config","owner":"bbigras","description":"My personal nix config","archived":false,"fork":false,"pushed_at":"2024-10-29T09:10:22.000Z","size":8146,"stargazers_count":188,"open_issues_count":4,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-29T09:20:23.689Z","etag":null,"topics":["nix","nixos","nixos-configuration"],"latest_commit_sha":null,"homepage":"","language":"Nix","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bbigras.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2020-07-19T23:54:18.000Z","updated_at":"2024-10-29T09:10:25.000Z","dependencies_parsed_at":"2024-01-29T21:26:18.316Z","dependency_job_id":"37a50541-f1d1-4298-8561-504cd9c1c81e","html_url":"https://github.com/bbigras/nix-config","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbigras%2Fnix-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbigras%2Fnix-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbigras%2Fnix-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbigras%2Fnix-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bbigras","download_url":"https://codeload.github.com/bbigras/nix-config/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247198450,"owners_count":20900080,"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":["nix","nixos","nixos-configuration"],"created_at":"2024-08-01T22:02:13.300Z","updated_at":"2025-04-04T15:07:52.793Z","avatar_url":"https://github.com/bbigras.png","language":"Nix","funding_links":[],"categories":["Nix"],"sub_categories":[],"readme":"# nix-config [![built with nix](https://builtwithnix.org/badge.svg)](https://builtwithnix.org) [![ci](https://github.com/bbigras/nix-config/actions/workflows/ci.yaml/badge.svg)](https://github.com/bbigras/nix-config/actions/workflows/ci.yaml)\n\nWIP\n\n# Features\n- flakes\n- deploy with deploy-rs\n- use the zen Linux kernel\n- use [nixos-hardware](https://github.com/NixOS/nixos-hardware)\n- use [srvos](https://github.com/nix-community/srvos)\n- Full disk encryption on laptop\n- [emacs-init module](https://gitlab.com/rycee/nur-expressions/blob/master/hm-modules/emacs-init.nix) for home-manager. See `users/bbigras/dev/emacs.nix`\n- overlays\n  - emacs-overlay\n  - nur\n- split-dns with systemd-resolved (might be set in my privates files)\n- tailscale\n\nThis is heavily based on https://github.com/lovesegfault/nix-config. Many files were copied directly from that repo.\n\nNote that the license should include lovesegfault's copyright on many files. Not sure how to sort that yet.\n\n## Build one host\n\n```sh\nnix build .#hosts.desktop --impure\n```\n\n## Deploy one host\n\n```sh\ndeploy -s .#pixel6 -- --impure\n```\n\n## nix-on-droid (first time)\n\nOn the phone:\n\n```sh\nnix-shell -p openssh -p which\n\n# get user and group id and put it in hosts/pixel6/default.nix\nid\n\nssh-keygen -q -N \"\" -t ed25519 -f ~/ssh_host_ed25519_key\n\ncat \u003c\u003cEOF \u003e tmp-sshd\nHostKey ~/ssh_host_ed25519_key\nPort 8022\nEOF\n\nmkdir -p ~/.ssh\ncat \u003c\u003cEOF \u003e ~/.ssh/authorized_keys\n**my key**\nEOF\n\n# start sshd server to be able to deploy from desktop with deploy-rs\n`which sshd` -dD -f ~/tmp-sshd\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbigras%2Fnix-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbbigras%2Fnix-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbigras%2Fnix-config/lists"}