diff --git a/hosts/yodaTab/configuration.nix b/hosts/yodaTab/configuration.nix index e18950a..26798fd 100644 --- a/hosts/yodaTab/configuration.nix +++ b/hosts/yodaTab/configuration.nix @@ -20,7 +20,7 @@ ../../modules/gnome-base.nix ../../modules/gnome-config.nix - ../../modules/gnome-terminal.nix + #../../modules/gnome-terminal.nix ../../modules/gnome-extensions.nix # Not required as display scale is set 2.0 (multiple of 1). #../../modules/gnome-fractional-scaling.nix @@ -28,6 +28,7 @@ ../../modules/wallpaper.nix ../../modules/programs.nix + ../../modules/blackbox.nix ../../modules/nextcloud-integration.nix ../../modules/syncthing.nix ../../modules/signal-desktop.nix diff --git a/hosts/yodaTux/configuration.nix b/hosts/yodaTux/configuration.nix index 3b3bffe..62c2db2 100644 --- a/hosts/yodaTux/configuration.nix +++ b/hosts/yodaTux/configuration.nix @@ -20,13 +20,14 @@ ../../modules/gnome-base.nix ../../modules/gnome-config.nix - ../../modules/gnome-terminal.nix + #../../modules/gnome-terminal.nix ../../modules/gnome-extensions.nix ../../modules/gnome-fractional-scaling.nix ../../modules/fwupd-gnome.nix ../../modules/wallpaper.nix ../../modules/programs.nix + ../../modules/blackbox.nix ../../modules/spaceFM.nix ../../modules/ausweisapp.nix ../../modules/nextcloud-integration.nix diff --git a/modules/blackbox.nix b/modules/blackbox.nix new file mode 100644 index 0000000..21bae2b --- /dev/null +++ b/modules/blackbox.nix @@ -0,0 +1,30 @@ +{ config, pkgs, ... }: +{ + users.users.yoda = { + packages = with pkgs; [ + blackbox-terminal # Terminal emulator + nautilus-open-any-terminal # For Nautilus (GNOME files) integration + ]; + }; + + programs.dconf.enable = true; + + home-manager.users.yoda = { osConfig, config, pkgs, ... }: { + dconf.settings = { + # For Nautilus (GNOME files) integration + "com/github/stunkymonkey/nautilus-open-any-terminal" = { + terminal = "blackbox"; + }; + + "com/raggesilver/BlackBox" = { + remember-window-size = true; + terminal-bell = false; + + # Theming. + # There are more compatible themes online: https://github.com/storm119/Tilix-Themes/blob/master/Themes.md + theme-dark = "Japanesque"; + theme-light = "Solarized Light"; + }; + }; + }; +} diff --git a/modules/gnome-base.nix b/modules/gnome-base.nix index d905aa2..3d8d8ae 100644 --- a/modules/gnome-base.nix +++ b/modules/gnome-base.nix @@ -8,7 +8,7 @@ gnome.gnome-logs # Systemd journal log viewer gnome-photos gnome-tour # Introduction to GNOME - gnome-console # Can't be configured with Home-Manager as of 2023-10. + gnome-console # Terminal emulator. TODO Can the color scheme be configured with dconf? gnome.cheese # Webcam viewer gnome.gnome-music # Music player gnome.epiphany # Web browser