only input timewall if it's there

Ryan Gibb 20e3acbd fe526e66

Changed files
+1 -2
home
+1 -2
home/gui/default.nix
···
imports = [
./i3.nix
./sway.nix
-
inputs.timewall.homeManagerModules.default
-
];
options.custom.gui.enable = lib.mkEnableOption "gui";
···
imports = [
./i3.nix
./sway.nix
+
] ++ (if (inputs ? timewall) then [ inputs.timewall.homeManagerModules.default ] else [ ]);
options.custom.gui.enable = lib.mkEnableOption "gui";