grimm-nix-shared/default.nix

27 lines
526 B
Nix
Raw Normal View History

2024-03-16 10:07:36 +01:00
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.grimmShared;
in {
options.grimmShared = {
enable = mkEnableOption "grimm-shared-modules";
2024-03-16 12:03:33 +01:00
locale = mkOption {
2024-03-16 10:07:36 +01:00
type = types.bool;
default = true;
description = "Sets german units but english language";
};
2024-03-16 12:03:33 +01:00
printing = mkOption {
type = types.bool;
default = true;
description = "Enables print and scan related options";
};
2024-03-16 10:07:36 +01:00
};
2024-03-16 12:03:33 +01:00
imports = [
./modules/localisation.nix
./modules/printing.nix
];
2024-03-16 10:07:36 +01:00
}