{"id":25637199,"url":"https://github.com/tuxdotrs/nix-config","last_synced_at":"2025-10-26T04:18:42.758Z","repository":{"id":192697375,"uuid":"687200106","full_name":"tuxdotrs/nix-config","owner":"tuxdotrs","description":"My entire infrastructure as a Nix flake.","archived":false,"fork":false,"pushed_at":"2025-04-11T14:05:47.000Z","size":11514,"stargazers_count":24,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-14T22:52:11.688Z","etag":null,"topics":["dotfiles","flake","home-manager","nixos","nixos-config","nixpkgs"],"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/tuxdotrs.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-09-04T21:21:08.000Z","updated_at":"2025-04-11T14:05:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"d22fb47a-f475-45e6-a22b-74c3ecbc8cb9","html_url":"https://github.com/tuxdotrs/nix-config","commit_stats":null,"previous_names":["0xtux/nixos-config","tuxdotrs/nixos-config"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuxdotrs%2Fnix-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuxdotrs%2Fnix-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuxdotrs%2Fnix-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuxdotrs%2Fnix-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tuxdotrs","download_url":"https://codeload.github.com/tuxdotrs/nix-config/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248975311,"owners_count":21192208,"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":["dotfiles","flake","home-manager","nixos","nixos-config","nixpkgs"],"created_at":"2025-02-23T01:19:20.979Z","updated_at":"2025-10-26T04:18:42.737Z","avatar_url":"https://github.com/tuxdotrs.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch3 align=\"center\"\u003e\n  tux's nix flake\n\u003c/h3\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://wakatime.com/badge/user/012e8da9-99fe-4600-891b-bd9d8dce73d9/project/312e6509-0e4f-47b7-b5de-54985b546702\" target=\"_blank\"\u003e\u003cimg alt=\"home\" src=\"https://wakatime.com/badge/user/012e8da9-99fe-4600-891b-bd9d8dce73d9/project/312e6509-0e4f-47b7-b5de-54985b546702.svg\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://builtwithnix.org\" target=\"_blank\"\u003e\u003cimg alt=\"home\" src=\"https://img.shields.io/static/v1?logo=nixos\u0026logoColor=white\u0026label=\u0026message=Built%20with%20Nix\u0026color=41439a\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/zemmsoares/awesome-rices\" target=\"_blank\"\u003e\u003cimg alt=\"home\" src=\"https://raw.githubusercontent.com/zemmsoares/awesome-rices/main/assets/awesome-rice-badge.svg\"\u003e\u003c/a\u003e\n  \u003cimg alt=\"GitHub repo size\" src=\"https://img.shields.io/github/repo-size/tuxdotrs/nix-config\"\u003e\n  \u003cimg alt=\"GitHub commit activity\" src=\"https://img.shields.io/github/commit-activity/m/tuxdotrs/nix-config\"\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n\t\u003cimg src=\"https://github.com/user-attachments/assets/fc28c35f-b87a-4931-ae7f-c231a11fd1a3\" alt=\"desktop\"\u003e\n\u003c/p\u003e\n\n## Table of Contents\n\n- [Hosts](#hosts)\n- [Installation](#installation)\n- [Components](#components)\n- [Showcase](#showcase)\n- [Pain](#spent-weeks-on-this-system-configuration-)\n\n## Hosts\n\n|     | Hostname   | Board             | CPU                | RAM  | GPU                       | Purpose                                                                            |\n| --- | ---------- | ----------------- | ------------------ | ---- | ------------------------- | ---------------------------------------------------------------------------------- |\n| 🖥️  | `sirius`   | MSI X570-A Pro    | Ryzen 7 5700X3D    | 64GB | RTX 3080 TI + RTX 3060 TI | Triple-monitor desktop running Windows Subsystem for Linux.                        |\n| 💻  | `canopus`  | Asus Zephyrus G15 | Ryzen 9 5900HS     | 16GB | RTX 3060                  | Optimized for productivity on the go and some gaming.                              |\n| ☁️  | `homelab`  | Minisforum MS-A1  | Ryzen 7 8700G      | 32GB | Radeon 780M               | WIP                                                                                |\n| ☁️  | `arcturus` | KVM               | 4 Core             | 8GB  |                           | Primary server responsible for exposing my homelab applications to the internet.   |\n| ☁️  | `alpha`    | KVM               | 4 Core             | 4GB  |                           | Monitors uptime and health status of all services across the infrastructure.       |\n| 🥔  | `vega`     | Raspberry Pi 3B+  | Cortex A53         | 1GB  |                           | Running AdGuard Home for network-wide ad blocking.                                 |\n| 📱  | `capella`  | Samsung S25 Ultra | Snapdragon 8 Elite | 12GB | Adreno 830                | Primary mobile for daily usage. (Locked)                                           |\n| 📱  | `rigel`    | Motorola Edge 30  | Snapdragon 778G+   | 8GB  | Adreno 642L               | Secondary mobile for some fun. (Rooted)                                            |\n| ☁️  | `node`     | KVM               | i9-13900           | 64GB |                           | Running Ethereum and BSC nodes. Currently in the process of migrating from Ubuntu. |\n\n## Installation\n\n\u003e **Note:** This will get your base system ready, but keep in mind that many things might not work correctly — such as monitor resolution, font size, and more.\n\n### Prerequisites\n\nBoot into the NixOS bootable USB before proceeding with the installation steps.\n\n### Installation Steps\n\n#### 1. Clone the repository\n\n```bash\ngit clone https://github.com/tuxdotrs/nix-config.git\ncd nix-config\n```\n\n#### 2. Gain root privileges\n\n```bash\nsudo su\n\n```\n\n#### 3. Set up disk partitioning\n\nInstall the required tools:\n\n```bash\nnix-shell -p disko neovim\n```\n\nPartition your disk using disko. **This will wipe your drive.** Replace `DISK_PATH` with your actual disk path (e.g., `/dev/vda` or `/dev/nvme0n1`):\n\n```bash\ndisko --mode disko ./hosts/canopus/disko.nix --arg device '\"DISK_PATH\"'\n```\n\n#### 4. Configure your disk\n\nEdit the configuration file:\n\n```bash\nnvim ./hosts/canopus/default.nix\n```\n\nIn the imports statement, replace:\n\n```nix\n(import ./disko.nix {device = \"/dev/nvme0n1\";})\n```\n\nwith:\n\n```nix\n(import ./disko.nix {device = \"DISK_PATH\";})\n```\n\nMake sure to replace `DISK_PATH` with your actual disk path.\n\n#### 5. Generate hardware configuration\n\n```bash\nnixos-generate-config --no-filesystems --root /mnt\n```\n\nCopy the generated hardware configuration to the repository:\n\n```bash\ncp /mnt/etc/nixos/hardware-configuration.nix ./hosts/canopus/hardware.nix\n```\n\n#### 6. Install NixOS\n\n```bash\nnixos-install --root /mnt --flake .#canopus\n```\n\n#### 7. Enter into the new system\n\n```bash\nnixos-enter --root /mnt\n```\n\n#### 8. Set up directories and permissions\n\n```bash\nmkdir -p /persist/home\nchown -R tux:users /persist/home\n```\n\n#### 9. Set passwords\n\nSet the root password:\n\n```bash\npasswd root\n```\n\nSet the user password:\n\n```bash\npasswd tux\n```\n\n#### 10. Reboot\n\n```bash\nreboot\n```\n\nYour NixOS system should now boot into a beautiful DE.\n\n## Components\n\n|               | Wayland  | Xorg             |\n| ------------- | -------- | ---------------- |\n| DM            | ly       | ly               |\n| WM/DE         | Hyprland | AwesomeWM        |\n| Compositor    | Hyprland | Picom (Jonaburg) |\n| Bar           | tPanel   | Wibar            |\n| Hotkeys       | Hyprland | Awful            |\n| Launcher      | tPanel   | Rofi             |\n| Notifications | tPanel   | Naughty          |\n| Terminal      | Wezterm  | Wezterm          |\n| Editor        | Neovim   | Neovim           |\n\n## Showcase\n\n### Desktop Hyprland\n\n![Desktop](https://raw.githubusercontent.com/tuxdotrs/nix-config/refs/heads/main/assets/hyprland/desktop.png)\n\n### tPanel\n\n![tPanel](https://raw.githubusercontent.com/tuxdotrs/nix-config/refs/heads/main/assets/hyprland/tPanel.png)\n\n### Workflow\n\n![Workflow](https://raw.githubusercontent.com/tuxdotrs/nix-config/refs/heads/main/assets/hyprland/workflow.png)\n\n## Showcase\n\n### Desktop AwesomeWM\n\n![2024-08-08_18-33](https://github.com/user-attachments/assets/1cdcc387-0f68-486c-a76c-a36ad2acb78d)\n\n![2024-08-08_18-18](https://github.com/user-attachments/assets/f3fc4da5-6c0d-4cda-934d-b68ca6494e02)\n\n### Neovim\n\n![2024-08-08_18-16](https://github.com/user-attachments/assets/f881c672-8d77-43ec-b637-df5004c7d11f)\n\n### Floating Terminal\n\n![2024-08-08_18-16_1](https://github.com/user-attachments/assets/3339ecf8-3264-4179-a093-337c844592a6)\n\n### Lazygit\n\n![2024-08-08_18-16_2](https://github.com/user-attachments/assets/6df15881-fc2b-41b1-af3b-124fe0599b94)\n\n### Telescope\n\n![2024-08-08_18-16_3](https://github.com/user-attachments/assets/03be05bc-8ede-4d6e-a341-2761d89b7288)\n\n### Firefox\n\n![2024-08-08_18-26](https://github.com/user-attachments/assets/6f12173b-2480-404e-b01a-599115a886c0)\n\n## Spent weeks on this system configuration 😢\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://user-images.githubusercontent.com/97862450/265550523-2f66a8b6-4347-40af-89c6-12db3a61cc7c.jpeg\" width=\"60%\"\u003e\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftuxdotrs%2Fnix-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftuxdotrs%2Fnix-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftuxdotrs%2Fnix-config/lists"}