pantheon/nix/modules/graphical/default.nix

14 lines
322 B
Nix

{ lib, ... }:
let
inherit (lib.options) mkEnableOption;
in
{
flake.modules.nixos.graphical = {
home-manager.sharedModules = [ { graphical = true; } ];
services.pipewire = {
enable = true;
pulse.enable = true;
};
};
flake.modules.homeManager.default.options.graphical = mkEnableOption "";
}