Update modules/coreDesktop/default.nix
This commit is contained in:
parent
dbfcdf81fd
commit
b20e5aea1c
1 changed files with 22 additions and 0 deletions
|
|
@ -0,0 +1,22 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
inherit (lib.modules) mkIf;
|
||||||
|
inherit (lib.options) mkEnableOption;
|
||||||
|
|
||||||
|
cfg = config.coreDesktop;
|
||||||
|
in {
|
||||||
|
options.programs.common = {
|
||||||
|
enable = mkEnableOption "Config and Utils for Desktop";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
vscodium
|
||||||
|
brave
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue