Bruno BELANYI
570349e80f
All checks were successful
ci/woodpecker/push/check Pipeline was successful
My profiles are actually just "special" NixOS modules in that they orchestrate settings that usually span the NixOS/home-manager boundary, or otherwise set up configurations from multiple modules at once.
30 lines
451 B
Nix
30 lines
451 B
Nix
# Common modules
|
|
{ lib, ... }:
|
|
|
|
{
|
|
imports = [
|
|
./hardware
|
|
./home
|
|
./profiles
|
|
./programs
|
|
./secrets
|
|
./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";
|
|
};
|
|
};
|
|
};
|
|
}
|