Skip to content

ivan770/modulo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Modulo

Nix Badge GitHub License

A collection of NixOS and Home Manager modules that I use on my own devices.

  • Declarative filesystem support with Disko
  • Impermanence with root filesystem mounted as a tmpfs
  • Configurable networking using only systemd-based components (networkd, resolved, etc.)
  • Pre-configured desktop and server configurations

Usage

Include Modulo as a flake input in your system configuration:

inputs = {
  modulo.url = "github:ivan770/modulo";

  # Optional, but highly recommended.
  nixpkgs.follows = "modulo/nixpkgs";
  unstable.follows = "modulo/unstable";
  home-manager.follows = "modulo/home-manager";
  snowfall.follows = "modulo/snowfall";

  # ...
};

Support for separate module usage is best effort, so it's recommended to import all repository modules together.

Example (when using Snowfall Lib):

systems.modules.nixos = attrValues inputs.modulo.nixosModules
  ++ [inputs.home-manager.nixosModules.home-manager];

License

This software is licensed under the MIT license.