2022-01-12 00:20:57 +01:00
|
|
|
{ pkgs, config, lib, ... }:
|
|
|
|
|
2022-01-23 17:03:10 +01:00
|
|
|
with lib; {
|
2022-01-12 00:20:57 +01:00
|
|
|
|
|
|
|
imports = [
|
2022-01-23 17:03:10 +01:00
|
|
|
|
|
|
|
./wm
|
|
|
|
|
2022-01-12 00:20:57 +01:00
|
|
|
./pulseaudio.nix
|
|
|
|
./clipboard.nix
|
2022-05-23 14:04:21 +02:00
|
|
|
./statusbar.nix
|
2022-05-15 18:35:31 +02:00
|
|
|
./terminal.nix
|
2022-01-12 00:20:57 +01:00
|
|
|
|
|
|
|
];
|
2022-01-23 17:03:10 +01:00
|
|
|
|
|
|
|
options.riley.gui = mkEnableOption "gui applications and window manager";
|
2022-01-12 00:20:57 +01:00
|
|
|
|
2022-01-23 17:03:10 +01:00
|
|
|
config = mkIf config.riley.gui {
|
|
|
|
|
|
|
|
# Graphical applications
|
|
|
|
users.users."riley".packages = with pkgs; [
|
|
|
|
google-chrome
|
|
|
|
tdesktop
|
|
|
|
];
|
|
|
|
|
|
|
|
};
|
|
|
|
}
|