# dotnixos **Repository Path**: superfpga/dotnixos ## Basic Information - **Project Name**: dotnixos - **Description**: This is my personal NixOS configuration file, it is based on nix-starter-configs's standard template. It's used for my NixOS Linux development platform. - **Primary Language**: Unknown - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2024-04-04 - **Last Updated**: 2024-05-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # dotnixos ## Introduction This is my personal NixOS configuration file, it is based on nix-starter-configs's standard [template](https://github.com/Misterio77/nix-starter-configs). It's used for my NixOS Linux development platform. ## Architecture * flake.lock : Automatically generated version-lock files * flake.nix : Flake's entry file * home-manager : Home-Manager-based configuration * modules : System module configuration * nixos : NixOS-based configuration * overlays : Overlays configuration * pkgs : Package configuration * LICENSE : License * README.md : Readme ## Installation * open terminal * git clone https://gitee.com/superfpga/dotnixos /some_where_you_want * Replace the hostnames and usernames in all configuration files with your personal ones * mv /etc/nixos /etc/nixos-bak * Replace the /nixos/hardware_configuration.nix with /etc/nixos-bak/hardware_configuration.nix * sudo ln -s /some_where_you_want /etc/nixos ## User Guide * For all system configuration, placed in /etc/nixos/configuration.nix * For personal configuration, placed in /etc/nixos/home-manager/home.nix * TODO For aspects of modules, placed in /etc/nixos/modules * TODO For aspects of overlays, placed in /etc/nixos/verlays * TODO For aspects of pkgs, placed in /etc/nixos/pkgs * Go to /etc/nixos path, open terminal * Run > sudo nixos-rebuild switch --flake . for /etc/nixos/configuration.nix * Run > home-manager switch --flake . for /etc/nixos/home-manager/home.nix * version control in /some_where_you_want ## Reference * [nixos-and-flakes-book](https://github.com/ryan4yin/nixos-and-flakes-book) * [nix-starter-configs](https://github.com/Misterio77/nix-starter-configs) --superfpga