Nix-Deploy/modules/desktop/core/desktop.nix

26 lines
398 B
Nix

{
config,
lib,
pkgs,
...
}:
let
inherit (lib.modules) mkIf;
inherit (lib.options) mkEnableOption;
cfg = config.core.desktop;
in
{
options.core.desktop = {
enable = mkEnableOption "Config and Utils for Desktop";
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
vscodium
brave
mission-center
nixfmt-rfc-style
];
};
}