diff --git a/home/emacs.nix b/home/emacs.nix index c30ae7a..0ac1e12 100644 --- a/home/emacs.nix +++ b/home/emacs.nix @@ -8,7 +8,7 @@ in { programs.emacs.init = { enable = true; - packageQuickstart = false; + packageQuickstart = true; recommendedGcSettings = true; usePackageVerbose = false; earlyInit = '' @@ -19,8 +19,6 @@ in { (scroll-bar-mode -1) ;; Disable menubar (menu-bar-mode -1) - ;; Increase garbage collector threshold before load - (setq gc-cons-threshold 640000000) (setq debug-on-error t) ;; Use UTF-8 (set-terminal-coding-system 'utf-8) @@ -107,6 +105,9 @@ in { "Shortcut to '~/dev' folder." (interactive) (my/find-file-in-folder-shortcut "~/dev")) + ;; Disable scroll + C to zoom + (global-unset-key (kbd "C-")) + (global-unset-key (kbd "C-")) ''; usePackage = { diff --git a/system/common.nix b/system/common.nix index eae3dec..3d0b528 100644 --- a/system/common.nix +++ b/system/common.nix @@ -3,6 +3,8 @@ { environment.systemPackages = [ pkgs.coreutils-full ]; environment.variables.SHELL = "${pkgs.zsh}/bin/zsh"; + environment.variables.LANGUAGE = "en_US.UTF-8"; + environment.variables.LC_CTYPE = "en_US.UTF-8"; environment.variables.LANG = "en_US.UTF-8"; nix = { diff --git a/system/nixos.nix b/system/nixos.nix index 1f3047e..63c2a08 100644 --- a/system/nixos.nix +++ b/system/nixos.nix @@ -9,9 +9,26 @@ console.keyMap = "colemak"; + environment.gnome.excludePackages = (with pkgs; [ + gnome-photos + gnome-tour + ]) ++ (with pkgs.gnome; [ + cheese # webcam tool + gnome-music + gedit # text editor + epiphany # web browser + geary # email reader + evince # document viewer + gnome-characters + totem # video player + tali # poker game + iagno # go game + hitori # sudoku game + atomix # puzzle game + ]); + environment.systemPackages = with pkgs; [ freecad - gnome.gnome-terminal pinentry-gnome qbittorrent vlc @@ -44,11 +61,11 @@ services.xserver = { enable = true; - displayManager.gdm.enable = true; desktopManager.gnome.enable = true; - layout = "us"; + libinput.mouse.naturalScrolling = true; + libinput.touchpad.naturalScrolling = true; xkbVariant = "colemak"; };