diff --git a/common/fonts.nix b/common/fonts.nix new file mode 100644 index 0000000..1820cd9 --- /dev/null +++ b/common/fonts.nix @@ -0,0 +1,7 @@ +{ config, lib, pkgs, ... }: + +{ + fonts.packages = with pkgs; [ + corefonts + ]; +} diff --git a/home/gnome/default.nix b/home/gnome/default.nix index 9e5a1ee..160be51 100644 --- a/home/gnome/default.nix +++ b/home/gnome/default.nix @@ -4,5 +4,6 @@ imports = [ # TODO: nix-ify other parts of GNOME config ./appearance.nix + ./keyboard.nix ]; } diff --git a/home/gnome/keyboard.nix b/home/gnome/keyboard.nix new file mode 100644 index 0000000..7950cb8 --- /dev/null +++ b/home/gnome/keyboard.nix @@ -0,0 +1,15 @@ +# { config, lib, pkgs, ... }: + +{ + dconf = { + enable = true; + settings = { + "org/gnome/desktop/wm/keybindings" = { + # These are largely useless on most normal systems + # and conflict with VS Code's default keybinds for "Copy Line Up/Down" + move-to-workspace-up = [ ]; + move-to-workspace-down = [ ]; + }; + }; + }; +} diff --git a/hosts/tohru/configuration.nix b/hosts/tohru/configuration.nix index 845a558..388c069 100644 --- a/hosts/tohru/configuration.nix +++ b/hosts/tohru/configuration.nix @@ -5,6 +5,7 @@ [ ./hardware-configuration.nix ./home.nix + ../../common/fonts.nix ../../common/steam.nix ];