nix-config/modules/nixos/default.nix

29 lines
436 B
Nix
Raw Permalink 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
2021-09-25 18:15:40 +02:00
./secrets
./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";
};
};
};
}