cleaning up old files, only a bit more to go

This commit is contained in:
Chris Kruining 2024-07-23 23:56:05 +02:00
parent 2b71c1bb8e
commit 975f97edee
13 changed files with 90 additions and 339 deletions

View file

@ -0,0 +1,28 @@
{ options, config, lib, pkgs, ... }:
let
inherit (lib.modules) mkIf mkForce mkMerge;
cfg = config.modules.desktop.applications.steam;
desktop = config.modules.desktop;
in
{
options.modules.desktop.applications.steam = let
inherit (lib.options) mkEnableOption;
in {
enable = mkEnableOption "Enable office suite (only-office)";
};
config = mkIf cfg.enable
{
user.packages = attrValues {
inherit (pkgs) onlyoffice-bin;
};
nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [ "corefonts" ];
fonts.packages = with pkgs; [
corefonts
];
};
}