22 lines
No EOL
351 B
Nix
22 lines
No EOL
351 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: let
|
|
inherit (lib.modules) mkIf;
|
|
inherit (lib.options) mkEnableOption;
|
|
|
|
cfg = config.coreDesktop;
|
|
in {
|
|
options.coreDesktop = {
|
|
enable = mkEnableOption "Config and Utils for Desktop";
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
environment.systemPackages = with pkgs; [
|
|
vscodium
|
|
brave
|
|
];
|
|
};
|
|
} |