Skip to content

kylosus/nixdoots

Repository files navigation

A little documentation

The idea (for now) is to just import the modules you want to use. For example, to use mpv you can just

imports = [modules/home-manager/gui/applications/mpv];

Maybe this is a bit too verbose, but I'm looking into haumea for it. I don't want to have cfgs everywhere.

Some example config

hosts/<hostname>/default.nix

{...}: {
  # Parameters defining base system. Available to all modules
  params = {
    system = "x86_64-linux";
    timeZone = "Asia/Baku";

    hostName = "Hostname";
    userName = "user";
    fullName = "Userly user";

    # Enables gui
    desktop = true;
  };

  # Imported by NixOS
  module = {...}: {};

  # Imported by home-manager
  homeModule = {...}: {
    imports = [
      ../common/desktop.nix
      ../../modules/home-manager/gui/applications/mpv
    ];

    # Set some configs
    config.host.i3 = {
      monitors = ["HDMI-A-0" "eDP"];
    };
  };
}

under new management

2024-04-23_23-51

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages