{"id":15061944,"url":"https://github.com/suasuasuasuasua/nixos-config","last_synced_at":"2026-03-09T17:45:50.548Z","repository":{"id":256089774,"uuid":"851910140","full_name":"suasuasuasuasua/nixos-config","owner":"suasuasuasuasua","description":"My NixOS configuration","archived":false,"fork":false,"pushed_at":"2026-03-08T02:35:03.000Z","size":2765,"stargazers_count":3,"open_issues_count":44,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-08T04:07:44.392Z","etag":null,"topics":["disko","flakes","home-manager","nix-darwin","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/suasuasuasuasua.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-09-03T22:36:02.000Z","updated_at":"2026-03-08T01:26:23.000Z","dependencies_parsed_at":"2024-11-27T04:20:38.041Z","dependency_job_id":"eb8488d4-eca8-43e0-aed8-015a08075460","html_url":"https://github.com/suasuasuasuasua/nixos-config","commit_stats":{"total_commits":122,"total_committers":3,"mean_commits":"40.666666666666664","dds":0.4098360655737705,"last_synced_commit":"e454209679dee4fcb57096735f73f0994cda46da"},"previous_names":["suasuasuasuasua/nixos-config"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/suasuasuasuasua/nixos-config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suasuasuasuasua%2Fnixos-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suasuasuasuasua%2Fnixos-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suasuasuasuasua%2Fnixos-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suasuasuasuasua%2Fnixos-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/suasuasuasuasua","download_url":"https://codeload.github.com/suasuasuasuasua/nixos-config/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suasuasuasuasua%2Fnixos-config/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30305301,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T17:35:44.120Z","status":"ssl_error","status_checked_at":"2026-03-09T17:35:43.707Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["disko","flakes","home-manager","nix-darwin","nixos","nixos-configuration"],"created_at":"2024-09-24T23:27:30.607Z","updated_at":"2026-03-09T17:45:50.542Z","avatar_url":"https://github.com/suasuasuasuasua.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NixOS Config\n\n## Hosts\n\n- NixOS\n  - [`lab`](./configurations/nixos/lab/README.md) (custom build)\n  - [`pi`](./configurations/nixos/pi/README.md) (Raspberry Pi Model 4B *(2GB RAM)*)\n- Darwin\n  - [`mbp3`](./configurations/darwin/mbp3/README.md) (MacBook Pro M3 Max)\n- Generic Linux\n  - [`penguin`](./configurations/home/penguin/README.md) (Acer 713-3W Chromebook)\n\n## Setup\n\n### NixOS\n\nThe initial setup is pretty simple now thanks to `disko`.\n\n1. Boot the [minimal disk ISO](https://nixos.org/download/) onto a computer\n\n1. Connect to the Internet\n\n   ```bash\n   # Enter sudo mode\n   sudo -i\n\n   # Start the service\n   systemctl start wpa_supplicant.service\n\n   # Use the CLI to connect\n   wpa_cli\n\n   \u003e add_network 0\n   \u003e set_network 0 ssid \"\u003cnetwork name\u003e\"\n   \u003e set_network 0 psk \"\u003cpassword\u003e\"\n   \u003e enable_network 0\n\n   nix-shell -p disko\n   ```\n\n1. Run the `disko` utility\n\n   ```bash\n   # Add the program to the path\n   nix-shell -p disko\n\n   CONFIG_PATH=\"github:suasuasuasuasua/nixos-config\" # or you could clone locally first\n   NAME=\"penguin\" # for example\n   disko --mode disko --flake \"${CONFIG_PATH}\"#\"${NAME}\"\n   nixos-install --no-channel-copy --no-root-password --flake \"${CONFIG_PATH}\"#\"${NAME}\"\n   ```\n\n1. Prepare the passwords and ZFS pools\n\n   ```bash\n   # Set your password\n   nixos-enter --root /mnt -c \"passwd ${USERNAME}\"\n\n   # Export the zpools so that they can be used by the actual computer (not the\n   # installer!)\n   zpool export -a\n\n   # Reboot to your new system!\n   reboot\n   ```\n\n1. Initialize Samba (`smb`) (as root)\n\n   ```bash\n   # Add a user and a password\n   smbpasswd -a ${USERNAME}\n   smbpasswd -e ${USERNAME}\n\n   # Make the zshare owned by samba and writable\n   chgrp -R samba /zshare\n   chmod -R 775 /zshare\n   ```\n\n1. Make changes and rebuild the system\n\n   ```bash\n   # Rebuild the system after any changes!\n   just switch\n   ```\n\n### Darwin\n\nThe setup for `darwin` machines is much simpler. Make sure to connect to the\ninternet before beginning.\n\n\u003e See the [website](https://docs.determinate.systems) for an updated guide on\n\u003e Darwin\n\n1. Install `nix` on the machine. You may be prompted to install developer tools\n   (like `git`, `xcode`, etc.), so make sure to accept and be patient.\n\n   ```bash\n   curl -fsSL https://install.determinate.systems/nix | sh -s -- install\n   ```\n\n1. Install `nix-darwin`\n\n   ```bash\n   # To use Nixpkgs 25.05:\n   sudo nix run nix-darwin/nix-darwin-25.05#darwin-rebuild -- switch --flake .\n   ```\n\n1. Install the configuration from GitHub\n\n   ```bash\n   # switch to the mbp3 device for example\n   darwin-rebuild switch --flake github:suasuasuasuasua/nixos-config#mbp3\n   ```\n\n### Generic Linux\n\nThe setup for other Linux machines is much simpler. Make sure to connect to the\ninternet before beginning.\n\n1. Install `nix` on the machine\n\n   ```bash\n   curl -fsSL https://install.determinate.systems/nix | sh -s -- install\n   ```\n\n1. Install `home-manager` and switch configurations\n\n   ```bash\n   nix run home-manager -- switch --flake .#penguin\n   ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuasuasuasuasua%2Fnixos-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuasuasuasuasua%2Fnixos-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuasuasuasuasua%2Fnixos-config/lists"}