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
|
|
|
|
./alacritty.nix
|
|
|
|
|
|
|
|
];
|
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
|
|
|
|
];
|
|
|
|
|
|
|
|
};
|
|
|
|
}
|