25 lines
448 B
Nix
25 lines
448 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
let
|
|
cfg = config.qenya.base-graphical;
|
|
in
|
|
{
|
|
imports = [
|
|
./desktop.nix
|
|
./sound.nix
|
|
];
|
|
|
|
options.qenya.base-graphical.enable = mkEnableOption "Base configuration for graphical environments";
|
|
|
|
config = mkIf cfg.enable {
|
|
services.xserver.enable = true;
|
|
services.libinput.enable = true;
|
|
services.printing.enable = true;
|
|
|
|
fonts.packages = with pkgs; [
|
|
corefonts
|
|
];
|
|
};
|
|
}
|