nix-config/modules/default.nix

28 lines
426 B
Nix

# Common modules
{ lib, ... }:
{
imports = [
./hardware
./home.nix
./programs
./services
./system
];
options.my = with lib; {
user = {
name = mkOption {
type = types.str;
default = "ambroisie";
example = "alice";
description = "my username";
};
home = {
enable = my.mkDisableOption "home-manager configuration";
};
};
};
}