nix-config/modules/nixos/default.nix
Bruno BELANYI 570349e80f
All checks were successful
ci/woodpecker/push/check Pipeline was successful
nixos: profiles: move from top-level
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.
2023-11-11 18:12:05 +00:00

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";
};
};
};
}