{"id":15171342,"url":"https://github.com/lukethacoder/nix-config","last_synced_at":"2025-10-25T21:32:10.939Z","repository":{"id":248969475,"uuid":"830331326","full_name":"lukethacoder/nix-config","owner":"lukethacoder","description":"❄ NixOS Configuration (WIP)","archived":false,"fork":false,"pushed_at":"2025-01-15T08:47:55.000Z","size":184,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-31T10:51:13.140Z","etag":null,"topics":["1password","jellyfin","nix","nixos","tailscale","traefik"],"latest_commit_sha":null,"homepage":"","language":"Nix","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lukethacoder.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":"2024-07-18T04:31:03.000Z","updated_at":"2025-01-15T08:47:57.000Z","dependencies_parsed_at":"2024-09-10T14:45:43.958Z","dependency_job_id":"ed2c7159-5a9c-4160-a489-41d993347173","html_url":"https://github.com/lukethacoder/nix-config","commit_stats":{"total_commits":92,"total_committers":2,"mean_commits":46.0,"dds":"0.48913043478260865","last_synced_commit":"d7fc46425c5b8d44b2029f55c8cfdfe575b485b3"},"previous_names":["lukethacoder/nixos-config","lukethacoder/nix-config"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukethacoder%2Fnix-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukethacoder%2Fnix-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukethacoder%2Fnix-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukethacoder%2Fnix-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lukethacoder","download_url":"https://codeload.github.com/lukethacoder/nix-config/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238212446,"owners_count":19434955,"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":["1password","jellyfin","nix","nixos","tailscale","traefik"],"created_at":"2024-09-27T09:00:44.183Z","updated_at":"2025-10-25T21:32:10.934Z","avatar_url":"https://github.com/lukethacoder.png","language":"Nix","readme":"# NixOS\n\n\u003e NOTE: this NixOS config is still a work in progress. Take anything in this repo with a grain of salt (for now).\n\n## Services\n\n- Tailscale\n- Traefik\n- sops\n- Navidrome\n- Jellyfin\n- Immich\n- ~DuckDNS~ Cloudflare DNS\n- Deluge/Gluetun\n\n## Machines\n\n### Opslag\n\nMain Home Server machine. Will eventually host some sort of MergerFS/SnapRaid setup as well as a few services like Jellyfin, Navidrome, PiHole etc.\n\n### Hoofd (Daily driver laptop)\n\nWill eventually have a laptop configured with NixOS as a daily driver. Not yet ready to take the leap.\n\nWill host a simple config with:\n- Codium\n- Thorium (Chromium based browser)\n- Floorp (Firefox based browser)\n- Other DX tools + languages (Node (nvm), Rust, Python, etc.)\n- \n\n## Setup\n\n```bash\nmkdir -p /mnt/etc/nixos/\n\ngit clone https://github.com/lukethacoder/nix-config /mnt/etc/nixos/\n```\n\n\u003e TODO: do we use disko or nah?\n\u003e \n\u003e Before running, make sure to edit the `disko/` configuration you wish to use.\n\n```bash\n# nix --experimental-features \"nix-command flakes\" run github:nix-community/disko -- --mode disko /mnt/etc/nixos/disko/opslag.nix\n```\n\nDouble check your disk has been correctly partitioned.\n\n\u003c!-- TODO: add GParted screenshot of a \"good partition\" --\u003e\n\n```bash\n# Generate the flake.lock file\nsudo nix --experimental-features \"nix-command flakes\" flake lock\n\n# Check the configuration\nnix --experimental-features \"nix-command flakes\" repl\n\nnix-repl:\u003e :lf .\n# added 9 variables\n\nnix-repl:\u003e outputs.nixosConfigurations.opslag.config.fileSystems\n# { \"/\" = { ... }; \"/boot\" = { ... }; }\n\nnix-repl:\u003e outputs.nixosConfigurations.opslag.config.fileSystems.\"/\"\n# { autoFormat = false; autoResize = false; depends = [ ... ]; device = \"/dev/disk/by-partlabel/disk-main-root\"; encrypted = { ... }; formatOptions = null; fsType = \"ext4\"; label = null; mountPoint = \"/\"; neededForBoot = false; noCheck = false; options = [ ... ]; stratis = { ... }; }\n```\n\nInstall NixOS\n\n```bash\n# the '#opslag' is the name of your device you setup in your flake\nsudo nixos-install --root /mnt --flake '/mnt/etc/nixos#opslag'\n# NOTE: You will be prompted to set the root password at this point.\nsudo reboot\n```\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukethacoder%2Fnix-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flukethacoder%2Fnix-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukethacoder%2Fnix-config/lists"}