diff --git a/configurations/host/materusPC/hardware/boot.nix b/configurations/host/materusPC/hardware/boot.nix index 1f04e3e..76e3b0a 100644 --- a/configurations/host/materusPC/hardware/boot.nix +++ b/configurations/host/materusPC/hardware/boot.nix @@ -43,6 +43,7 @@ in boot.kernel.sysctl = { "vm.max_map_count" = 1000000; "vm.swappiness" = 10; + "net.ipv4.ip_forward"=1; }; diff --git a/configurations/host/materusPC/home/materus/default.nix b/configurations/host/materusPC/home/materus/default.nix index 642e99f..41deb94 100644 --- a/configurations/host/materusPC/home/materus/default.nix +++ b/configurations/host/materusPC/home/materus/default.nix @@ -10,12 +10,14 @@ xdg.userDirs.enable = true; materus.profile = { + fonts.enable = lib.mkDefault true; nixpkgs.enable = lib.mkDefault false; enableDesktop = lib.mkDefault true; enableTerminal = lib.mkDefault true; enableTerminalExtra = lib.mkDefault true; enableNixDevel = lib.mkDefault true; + editor.emacs.enable = false; editor.code.fhs.enable = true; editor.code.fhs.packages = (ps: with ps; let llvmpkgs = llvmPackages_18; in [ llvmpkgs.clang @@ -79,7 +81,7 @@ dub ]); - editor.emacs.enable = false; + }; diff --git a/configurations/profile/home/editor/emacs/default.nix b/configurations/profile/home/editor/emacs/default.nix index b9783e6..2042f6c 100644 --- a/configurations/profile/home/editor/emacs/default.nix +++ b/configurations/profile/home/editor/emacs/default.nix @@ -113,7 +113,16 @@ in programs.emacs = { enable = true; - package = with pkgs; lib.mkDefault materusArg.pkgs.emacs-materus; + package = with pkgs; lib.mkDefault (pkgs.emacs29.override { + withSQLite3 = true; + withWebP = true; + withX = true; + withGTK3 = true; + withAlsaLib = true; + withGconf = true; + withImageMagick = true; + withXwidgets = true; + }); extraPackages = epkgs: ((packages epkgs)); extraConfig = default-config; }; diff --git a/extraFiles/config/emacs/init.el b/extraFiles/config/emacs/init.el index 5a49fe4..e8f6e40 100644 --- a/extraFiles/config/emacs/init.el +++ b/extraFiles/config/emacs/init.el @@ -38,6 +38,7 @@ ;Graphical +(setq frame-resize-pixelwise t) (when (display-graphic-p) (set-frame-font "Hack Nerd Font" nil t) )