This commit is contained in:
Chris Kruining 2024-07-23 23:59:03 +02:00
parent 975f97edee
commit 62626b28b9
2 changed files with 8 additions and 2 deletions

View file

@ -17,6 +17,11 @@
plasma.enable = true; plasma.enable = true;
type = "wayland"; type = "wayland";
applications = {
office.enable = true;
steam.enable = true;
};
terminal = { terminal = {
default = "alacritty"; default = "alacritty";
alacritty.enable = true; alacritty.enable = true;

View file

@ -1,12 +1,13 @@
{ options, config, lib, pkgs, ... }: { options, config, lib, pkgs, ... }:
let let
inherit (lib.modules) mkIf mkForce mkMerge; inherit (lib.modules) mkIf mkForce mkMerge;
inherit (lib.attrsets) attrValues;
cfg = config.modules.desktop.applications.steam; cfg = config.modules.desktop.applications.office;
desktop = config.modules.desktop; desktop = config.modules.desktop;
in in
{ {
options.modules.desktop.applications.steam = let options.modules.desktop.applications.office = let
inherit (lib.options) mkEnableOption; inherit (lib.options) mkEnableOption;
in { in {
enable = mkEnableOption "Enable office suite (only-office)"; enable = mkEnableOption "Enable office suite (only-office)";