Skip to content

Latest commit

 

History

56 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NixOS Configuration

NixOS Desktop

My personal NixOS configuration built with NixOS Flakes and modular features.

Setup

Clone the repository:

git clone https://github.com/dityaren/nixos.git
cd ./nixos

Make a copy of nixos/modules/hosts/snow in the same directory and rename it into your desired hostname,

Make changes into variables:

modules/hosts/your-host-dir/vars.nix

Change the machine-specific values:

flake.vars = {
  username = "your-username";
  hostname = "your-hostname";
  stateVersion = "26.05";
  flakeRoot = "your-nixos-config-location/"; # End with /
};

Then rebuild:

sudo nixos-rebuild switch --flake your-nixos-config-location#your-hostname

Structure

.
├── flake.nix
├── flake.lock
└── modules/
    ├── hosts/
    │   └── (machine)/
    │       └── vars.nix
    │
    └── features/
        ├── ...
        ├── ...
        └── ...

About

Modular NixOS Flake configuration

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages