Skip to content

Latest commit

 

History

188 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

NixOS Modules

A collection of configuration modules for NixOS.

Install

  1. Have root access in NixOS (works in WSL)

  2. Clone this repo into /etc/:

    git clone git@github.com:NTARelix/nixos-modules /etc/nixos-modules
  3. Import the repo and add the modules that you want to use:

    # /etc/nixos/configuration.nix
    { pkgs, ... }:
    let
        shared-modules = import /etc/nixos-modules;
    in
    {
        imports = [
            # Uncomment the modules below that you want.
            # Each module has a corresponding file in ./modules.
            # You can find each module's docs in their file.
            # shared-modules.editor
            # shared-modules.git
            # shared-modules.shell
            # shared-modules.oci
            # shared-modules.azure-cli
            # shared-modules.terraform-cli
        ];
    }
  4. Rebuild NixOS with the new configuration:

    sudo nixos-rebuild switch

About

A collection of configuration modules for NixOS.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages