nix-config/modules/default.nix

28 lines
422 B
Nix
Raw Normal View History

# Common modules
{ lib, ... }:
{
imports = [
2021-05-29 16:35:27 +02:00
./hardware
2021-09-25 15:10:20 +02:00
./home
2021-09-15 16:47:49 +02:00
./programs
./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";
};
};
};
}