{"id":29487784,"url":"https://github.com/deltacircuit/nixos.config","last_synced_at":"2025-07-15T09:15:37.869Z","repository":{"id":225593859,"uuid":"760981908","full_name":"DeltaCircuit/nixos.config","owner":"DeltaCircuit","description":"NixOS Config","archived":false,"fork":false,"pushed_at":"2024-06-28T07:03:38.000Z","size":279,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-28T08:27:36.006Z","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/DeltaCircuit.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":"2024-02-21T02:36:00.000Z","updated_at":"2024-06-28T08:27:38.594Z","dependencies_parsed_at":"2024-03-03T05:22:13.420Z","dependency_job_id":"3a7e5db0-9d6a-4bec-93ba-c6f478b4d210","html_url":"https://github.com/DeltaCircuit/nixos.config","commit_stats":null,"previous_names":["deltacircuit/nix-config","deltacircuit/nixos.config"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DeltaCircuit/nixos.config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeltaCircuit%2Fnixos.config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeltaCircuit%2Fnixos.config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeltaCircuit%2Fnixos.config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeltaCircuit%2Fnixos.config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DeltaCircuit","download_url":"https://codeload.github.com/DeltaCircuit/nixos.config/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeltaCircuit%2Fnixos.config/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265424746,"owners_count":23762883,"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":"2025-07-15T09:15:37.252Z","updated_at":"2025-07-15T09:15:37.832Z","avatar_url":"https://github.com/DeltaCircuit.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NixOS Configuration\n[![built with nix](https://builtwithnix.org/badge.svg)](https://builtwithnix.org)\n\n\u003e [!WARNING]\n\u003e ## :construction: Work In Progress\n\u003e This project is stil in WIP, but pretty much solid. You might see a lot of commented codes, unused references and that's because I'm trying to consolidate a structure of my own by referencing multiple author's config files. \n\n## :package: Contents  / Structure\n- **[home](./home)**: Home Manager configurations\n- **[hosts](./hosts)**: Host specific configurations  \n- **[nixos](./nixos)**: Common NixOS configurations (system level)\n\n## Usage  \n\nClone this repo\n```\ngit clone https://github.com/homelabx/nix-config\n```  \n\n### I'm on NixOS\n\n#### NixOS Configuration\n\nCreate a folder under `/hosts` for your host and copy existing `configuration.nix` and `hardware-configuration.nix` from `/etc/nixos`  \n\n```bash\n# Assuming you're on nix-config folder \nmkdir hosts/\u003chostname\u003e\ncp /etc/nixos/configuration.nix /etc/nixos/hardware-configuration.nix hosts/\u003chostname\u003e\n```\n\nTo the `imports` list in `configuration.nix`, add the `nixos` folder. So it'd look like this:  \n```nix\n{ \n  imports = [\n    ./hardware-configuration.nix\n    ../../nixos\n  ];\n\n  # Rest of configuration.nix  \n}\n```\n\nNow, in the root `flake.nix`, add the newly created OS configuration and the home configurations.  \n\n```nix\n# /flake.nix  \n{\n  # Rest of the flake contents  \n\n  nixosConfigurations = {\n    \u003chostname\u003e = lib.nixosSystem {\n      modules = [ ./hosts/\u003chostname\u003e/configuration.nix ];\n      specialArgs = { inherit inputs outputs; };\n    };\n  };\n}\n```\n\nRebuild the OS by\n```bash\nsudo nixos-rebuild switch --flake .  \n```\n\n#### Home Manager Configuration\n\nCreate a folder for the users in the host (single file would be enough if you've only one user) under the host directory. That `.nix` file will be your home-manager configuration for the user. \n\n```nix\n# hosts/\u003chost_name\u003e/user.nix\n{\n  imports = [ ../../home ];\n\n  config = {\n    modules = {\n      # Enable the apps here Refer the Applications section for more details below\n    };\n\n    # Rest of the home manager configuration lies here  \n};\n```  \n\nNow, in the root `flake.nix`, add the newly created OS configuration and the home configurations.  \n\n```nix\n# /flake.nix  \n{\n  # Rest of the flake contents  \n\n  homeConfigurations = {\n    \"user@host\" = lib.homeManagerConfiguration {\n      modules = [ ./hosts/\u003chostname\u003e/\u003cuser\u003e.nix ];\n      extraSpecialArgs = { inherits inputs outputs; };\n    };\n  };\n}\n```\n\nBuild home manager by\n```bash\nhome-manager switch --flake .\n```\n\n### I'm not on NixOS  \n\n- Install `nix`  \n- Install `home-manager` as standalone module  \n\nFollow the same steps for [home manager](#home-manager-configuration)\n\n## Applications  \n\n\u003e [!NOTE]\n\u003e Items marked with `home` should go to the home manager configuration (ie `hosts/user.nix`)  \n\u003e Items marked with `nixos` should go to the OS configuration (ie `/hosts/configuration.nix`)\n\n### Browsers  \n\n- Firefox  \u003ckbd\u003ehome\u003c/kbd\u003e\n```nix\nconfig.modules.browsers.firefox.enable = true;\n```  \n\n### Editors  \n\n- Visual Studio Code  \u003ckbd\u003ehome\u003c/kbd\u003e\n```nix\nconfig.modules.editors.vscode.enable = true;\n```  \n\n### Programs  \n\n- direnv \u003ckbd\u003ehome\u003c/kbd\u003e\n```nix\nconfig.modules.programs.direnv.enable = true;\n```\n- fd \u003ckbd\u003ehome\u003c/kbd\u003e\n```nix\nconfig.modules.programs.fd.enable = true;\n```  \n- fzf \u003ckbd\u003ehome\u003c/kbd\u003e\n```nix\nconfig.modules.programs.fzf.enable = true;\n```  \n- pcmanfm \u003ckbd\u003ehome\u003c/kbd\u003e\n```nix\nconfig.modules.programs.pcmanfm.enable = true;\n```  \n- rclone \u003ckbd\u003ehome\u003c/kbd\u003e\n```nix\nconfig.modules.programs.rclone.enable = true;\n```  \n- rofi \u003ckbd\u003ehome\u003c/kbd\u003e\n```nix\nconfig.modules.programs.rofi.enable = true;\n```  \n- starship \u003ckbd\u003ehome\u003c/kbd\u003e\n```nix\nconfig.modules.programs.starship.enable = true;\n```  \n- waybar \u003ckbd\u003ehome\u003c/kbd\u003e\n```nix\nconfig.modules.programs.waybar.enable = true;\n```  \n- yazi \u003ckbd\u003ehome\u003c/kbd\u003e\n\n```nix\nconfig.modules.programs.yazi.enable = true;\n```  \nAlso installs\n- imagemagick\n- file\n\n### Services  \n\n- blueman-applet \u003ckbd\u003ehome\u003c/kbd\u003e \u003ckbd\u003enixos\u003c/kbd\u003e\n\nAdd the following to home config\n```nix\nconfig.modules.services.blueman-applet.enable = true;\n```  \n\nAdd the following to NixOS config\n```nix\nmodules.services.blueman.enable = true;\n```  \n- dunst \u003ckbd\u003ehome\u003c/kbd\u003e\n```nix\nconfig.modules.services.dunst.enable = true;\n```  \n- udiskie \u003ckbd\u003ehome\u003c/kbd\u003e \u003ckbd\u003enixos\u003c/kbd\u003e\n\nAdd the following to home config\n```nix\nconfig.modules.services.udiskie.enable = true;\n```  \n\nAdd the following to NixOS Config\n```nix\nservices = {\n  gvfs.enable = true;\n  udisks2.enable = true;\n  fwupd.enable = true;\n};\n```\n\n### Shells\n\n- zsh \u003ckbd\u003ehome\u003c/kbd\u003e \u003ckbd\u003enixos\u003c/kbd\u003e\n\nAdd the following to home config\n```nix\nconfig.modules.shells.zsh.enable = true;\n```  \n\nAdd the following to NixOS config\n```nix\nmodules.nixos.shells.zsh.enable = true;\n```  \n\n### Terminals  \n\n- alacritty \u003ckbd\u003ehome\u003c/kbd\u003e\n```nix\nconfig.modules.terminals.alacritty.enable = true;\n```  \n- kitty \u003ckbd\u003ehome\u003c/kbd\u003e\n```nix\nconfig.modules.terminals.kitty.enable = true;\n```  \n### Window Managers  \n\n- hyprland \u003ckbd\u003ehome\u003c/kbd\u003e \u003ckbd\u003enixos\u003c/kbd\u003e\n\nAdd the following to home config\n```nix\nconfig.modules.wms.hyprland.enable = true;\n```  \n\nAdd the following to NixOS config\n```nix\nmodules.nixos.wms.hyprland.enable = true;\n```  \n## Inspired By  \n- https://gitlab.com/hmajid2301/dotfiles  \n- https://github.com/rxyhn/yuki\n- https://github.com/fufexan/dotfiles\n- https://github.com/Misterio77/nix-config","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeltacircuit%2Fnixos.config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeltacircuit%2Fnixos.config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeltacircuit%2Fnixos.config/lists"}