materusPC: updates
This commit is contained in:
parent
319f3899ab
commit
4dfcc37c3c
|
@ -43,6 +43,7 @@ in
|
||||||
boot.kernel.sysctl = {
|
boot.kernel.sysctl = {
|
||||||
"vm.max_map_count" = 1000000;
|
"vm.max_map_count" = 1000000;
|
||||||
"vm.swappiness" = 10;
|
"vm.swappiness" = 10;
|
||||||
|
"net.ipv4.ip_forward"=1;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -10,12 +10,14 @@
|
||||||
|
|
||||||
xdg.userDirs.enable = true;
|
xdg.userDirs.enable = true;
|
||||||
materus.profile = {
|
materus.profile = {
|
||||||
|
|
||||||
fonts.enable = lib.mkDefault true;
|
fonts.enable = lib.mkDefault true;
|
||||||
nixpkgs.enable = lib.mkDefault false;
|
nixpkgs.enable = lib.mkDefault false;
|
||||||
enableDesktop = lib.mkDefault true;
|
enableDesktop = lib.mkDefault true;
|
||||||
enableTerminal = lib.mkDefault true;
|
enableTerminal = lib.mkDefault true;
|
||||||
enableTerminalExtra = lib.mkDefault true;
|
enableTerminalExtra = lib.mkDefault true;
|
||||||
enableNixDevel = lib.mkDefault true;
|
enableNixDevel = lib.mkDefault true;
|
||||||
|
editor.emacs.enable = false;
|
||||||
editor.code.fhs.enable = true;
|
editor.code.fhs.enable = true;
|
||||||
editor.code.fhs.packages = (ps: with ps; let llvmpkgs = llvmPackages_18; in [
|
editor.code.fhs.packages = (ps: with ps; let llvmpkgs = llvmPackages_18; in [
|
||||||
llvmpkgs.clang
|
llvmpkgs.clang
|
||||||
|
@ -79,7 +81,7 @@
|
||||||
dub
|
dub
|
||||||
]);
|
]);
|
||||||
|
|
||||||
editor.emacs.enable = false;
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -113,7 +113,16 @@ in
|
||||||
|
|
||||||
programs.emacs = {
|
programs.emacs = {
|
||||||
enable = true;
|
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));
|
extraPackages = epkgs: ((packages epkgs));
|
||||||
extraConfig = default-config;
|
extraConfig = default-config;
|
||||||
};
|
};
|
||||||
|
|
|
@ -38,6 +38,7 @@
|
||||||
|
|
||||||
|
|
||||||
;Graphical
|
;Graphical
|
||||||
|
(setq frame-resize-pixelwise t)
|
||||||
(when (display-graphic-p)
|
(when (display-graphic-p)
|
||||||
(set-frame-font "Hack Nerd Font" nil t)
|
(set-frame-font "Hack Nerd Font" nil t)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue