2024-02-29 00:32:48 +01:00
|
|
|
{ pkgs, lib, config, ... }:
|
2023-02-17 00:41:22 +01:00
|
|
|
with lib;
|
|
|
|
{
|
|
|
|
options.components.gui = {
|
|
|
|
enable = lib.mkEnableOption "GUI configurations";
|
|
|
|
};
|
|
|
|
|
|
|
|
imports = [
|
2023-02-17 11:45:09 +01:00
|
|
|
# todo : structure with home-manager and such is not cool, create another structure
|
2023-06-01 12:08:59 +02:00
|
|
|
./audio.nix
|
2024-02-28 23:17:23 +01:00
|
|
|
./browser.nix
|
2024-03-03 14:56:49 +01:00
|
|
|
./cups.nix
|
2023-12-12 21:25:09 +01:00
|
|
|
./fonts.nix
|
2024-02-28 23:17:23 +01:00
|
|
|
./home-manager
|
|
|
|
./kmonad.nix
|
2023-08-23 10:02:42 +02:00
|
|
|
./noti.nix
|
2024-02-28 23:17:23 +01:00
|
|
|
./pass.nix
|
|
|
|
./steam.nix
|
|
|
|
./suspend.nix
|
2023-08-24 14:25:59 +02:00
|
|
|
./vscode.nix
|
2024-05-04 10:02:43 +02:00
|
|
|
./wayland.nix
|
2024-02-28 23:17:23 +01:00
|
|
|
./xorg
|
2023-02-17 00:41:22 +01:00
|
|
|
];
|
|
|
|
|
2023-02-17 00:59:29 +01:00
|
|
|
config = mkIf config.components.gui.enable {
|
|
|
|
# todo extract xorg stuff to prepare wayland
|
2024-02-29 00:32:48 +01:00
|
|
|
environment.enableAllTerminfo = true;
|
2023-02-17 00:59:29 +01:00
|
|
|
};
|
2023-02-17 00:41:22 +01:00
|
|
|
}
|