{"id":20936320,"url":"https://github.com/extrange/chanel-nixos","last_synced_at":"2025-05-13T21:31:04.849Z","repository":{"id":213811859,"uuid":"734987564","full_name":"extrange/chanel-nixos","owner":"extrange","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-28T04:15:52.000Z","size":10622,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-28T05:29:38.788Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/extrange.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}},"created_at":"2023-12-23T09:02:16.000Z","updated_at":"2024-08-28T04:15:55.000Z","dependencies_parsed_at":"2024-01-01T12:30:34.825Z","dependency_job_id":"d6499ee1-a3ff-4842-80e7-d094ffb00d68","html_url":"https://github.com/extrange/chanel-nixos","commit_stats":null,"previous_names":["extrange/chanel-nixos"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/extrange%2Fchanel-nixos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/extrange%2Fchanel-nixos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/extrange%2Fchanel-nixos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/extrange%2Fchanel-nixos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/extrange","download_url":"https://codeload.github.com/extrange/chanel-nixos/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225259093,"owners_count":17445875,"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":[],"created_at":"2024-11-18T22:19:05.634Z","updated_at":"2024-11-18T22:19:06.384Z","avatar_url":"https://github.com/extrange.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chanel's NixOS Configuration\n\n## Installation\n\n\u003e [!IMPORTANT]\n\u003e Before installing anything, back up your existing configuration:\n\u003e\n\u003e - Firefox profiles\n\u003e - `/etc/fstab` (if applicable)\n\u003e - `nm-cli` connections (if applicable)\n\nBoot into the NixOS [installer].\n\nThen, run:\n\n```text\n$ sudo -i\n# source \u003c(curl -s https://raw.githubusercontent.com/extrange/chanel-nixos/main/setup.sh)\n```\n\nOnce installation is completed successfully, reboot.\n\n## Post Install\n\n- Setup a password for your account: `su root`, then `passwd chanel`. This will enable `sudo`.\n- [Add your SSH key to Github][ssh-key].\n  - Subsequently, clone packages with ssh, not https. E.g. `git clone git@github.com:extrange/chanel-nixos.git`\n- `git push` changes to `hardware-configuration.nix` for the respective host\n- Copy over previous Firefox profile\n- Setup logins (these can't be declaratively set)\n  - Tailscale (Auth Key max expiry is 90 days)\n  - Telegram\n  - Whatsapp\n- Syncthing: configure folders, add device to server\n- GSConnect pairing\n- VSCode settings sync (note: due to [automatic login], the keyring is not unlocked. However, it is possible to use a insecure storage and disable the [password].)\n- Virtual Machine Manager: download Windows ISO to create Windows guest. Create and [share folder with windows guest].\n- Calibre: install DeDRM plugin\n\n## Configuring\n\nEdit `home.nix` and `system.nix` as necessary. Don't edit `hardware-configuration.nix` - this was automatically generated for your machine, and is specific for it.\n\n`home.nix` is where settings specific for the user are kept. This is actually managed by a separate NixOS module called [home-manager]. You can see options [here][home-manager-options].\n\nAfter that:\n\n- To test (this will not persist changes across boots): `sudo nixos-rebuild test --flake path:.#chanel`\n- To switch (write to boot record, will persist across boots): `sudo nixos-rebuild switch --flake path:.#chanel`\n- To update the lockfile: `nix flake update`\n- To test in a VM: `sudo nixos-rebuild build-vm --flake path:.#chanel`\n- 20240728: To allow install of insecure/ EOL pkgs (e.g. electron for logseq): `sudo NIXPKGS_ALLOW_INSECURE=1 nixos-rebuild switch --flake path:. --impure`\n\n\n## References\n\nTo find packages/option names, head to \u003chttps://search.nixos.org\u003e.\n\nAn explanation of common options (for the system, or `system.nix`) is [here][nixos-config].\n\nTo learn about the Nix language, check out \u003chttps://nix.dev/tutorials/nix-language.html\u003e.\n\nTo learn more about Nix in general, see \u003chttps://nixos.org/manual/nix/stable\u003e.\n\n[ssh-key]: https://docs.github.com/en/authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account\n[installer]: https://channels.nixos.org/nixos-23.11/latest-nixos-minimal-x86_64-linux.iso\n[automatic login]: https://askubuntu.com/questions/1352398/asking-for-password-when-i-open-vscode-for-the-first-time\n[password]: https://askubuntu.com/questions/24770/gnome-keyring-keeps-asking-for-a-password-that-doesnt-exist/24773#24773\n[share folder with windows guest]: https://www.debugpoint.com/kvm-share-folder-windows-guest/\n[nixos-config]: https://nixos.org/manual/nixos/stable/#ch-configuration\n[home-manager]: https://nix-community.github.io/home-manager/\n[home-manager-options]: https://nix-community.github.io/home-manager/options.xhtml","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fextrange%2Fchanel-nixos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fextrange%2Fchanel-nixos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fextrange%2Fchanel-nixos/lists"}