os/shared/home/gui/default.nix

26 lines
No EOL
384 B
Nix

{ pkgs, lib, config, ... }:
let cfg = config.custom.gui;
in {
options.custom.gui = {
enable = lib.mkEnableOption "Nix-managed GUI";
};
imports = [
./sway.nix
./term.nix
];
config = lib.mkIf (cfg.enable) {
fonts.fontconfig.enable = true;
home.packages = with pkgs; [
# Fonts
fira-code
# GUI programs
pavucontrol
];
};
}