2021-02-06 15:35:38 +01:00
|
|
|
# Common modules
|
2021-05-29 21:13:44 +02:00
|
|
|
{ lib, ... }:
|
2021-02-06 15:35:38 +01:00
|
|
|
|
|
|
|
{
|
|
|
|
imports = [
|
2021-05-29 16:35:27 +02:00
|
|
|
./hardware
|
2021-09-25 15:10:20 +02:00
|
|
|
./home
|
2023-11-09 14:47:30 +01:00
|
|
|
./profiles
|
2021-09-15 16:47:49 +02:00
|
|
|
./programs
|
2021-09-25 18:15:40 +02:00
|
|
|
./secrets
|
2021-05-29 16:46:51 +02:00
|
|
|
./services
|
2021-05-29 16:48:32 +02:00
|
|
|
./system
|
2021-02-06 15:35:38 +01:00
|
|
|
];
|
2021-05-29 21:13:44 +02:00
|
|
|
|
|
|
|
options.my = with lib; {
|
2021-06-25 20:40:34 +02:00
|
|
|
user = {
|
|
|
|
name = mkOption {
|
|
|
|
type = types.str;
|
|
|
|
default = "ambroisie";
|
|
|
|
example = "alice";
|
|
|
|
description = "my username";
|
|
|
|
};
|
2021-06-25 20:43:19 +02:00
|
|
|
|
|
|
|
home = {
|
|
|
|
enable = my.mkDisableOption "home-manager configuration";
|
|
|
|
};
|
2021-05-29 21:13:44 +02:00
|
|
|
};
|
|
|
|
};
|
2021-02-06 15:35:38 +01:00
|
|
|
}
|