nix-config/modules/default.nix

27 lines
411 B
Nix
Raw Normal View History

# Common modules
{ lib, ... }:
{
imports = [
2021-05-29 16:35:27 +02:00
./hardware
./home.nix
./services
2021-05-29 16:48:32 +02:00
./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";
};
};
};
}