diff --git a/modules/home-manager/profiles/desktop.nix b/modules/home-manager/profiles/desktop.nix index c956ad52..14ca79d3 100644 --- a/modules/home-manager/profiles/desktop.nix +++ b/modules/home-manager/profiles/desktop.nix @@ -89,6 +89,7 @@ in { profiles = { cjk = rec { + profile-desc = "CJK prioritization"; vlang = "zho,zh,kor,ko,jpn,ja,eng,en"; alang = vlang; slang = with lib; concatStringsSep "," (reverseList (splitString "," vlang)); diff --git a/modules/home-manager/profiles/dev.nix b/modules/home-manager/profiles/dev.nix index 9458ddd4..ff15956d 100644 --- a/modules/home-manager/profiles/dev.nix +++ b/modules/home-manager/profiles/dev.nix @@ -34,7 +34,7 @@ in { (lib.mkIf cfg.shell.enable { programs.bash = { enable = true; - historyControl = [ "ignoredups" "ignorespace" ]; + historyControl = [ "erasedups" "ignoredups" "ignorespace" ]; historyIgnore = [ "cd" "exit" diff --git a/modules/home-manager/profiles/editors.nix b/modules/home-manager/profiles/editors.nix index 55d8211c..f615c960 100644 --- a/modules/home-manager/profiles/editors.nix +++ b/modules/home-manager/profiles/editors.nix @@ -22,9 +22,17 @@ in { withPython3 = true; withRuby = true; withNodeJs = true; + + plugins = with pkgs.vimPlugins; [ + parinfer-rust + ]; }; }) + # I only use Emacs for org-roam (seriously... I only learned Emacs for + # that). Take note this profile doesn't setup Emacs-as-a-development-tool + # thing, rather Emacs-as-a-note-taking tool thing with the complete + # package. (lib.mkIf cfg.emacs.enable { programs.emacs = { enable = true; diff --git a/modules/nixos/profiles/system.nix b/modules/nixos/profiles/system.nix index 098524da..97c97fa9 100644 --- a/modules/nixos/profiles/system.nix +++ b/modules/nixos/profiles/system.nix @@ -237,8 +237,8 @@ in { ]; }) - # The profile intended to be used for servers. - # Most of the things here are based from the Securing Debian document. + # The profile intended to be used for servers. Most of the things here are + # based from the Securing Debian document. (lib.mkIf cfg.hardened-config.enable { # Don't replace it mid-way! DON'T TURN LEFT!!!! security.protectKernelImage = true; @@ -254,7 +254,6 @@ in { factor = "4"; maxtime = "24h"; }; - ignoreIP = [ "127.0.0.1/16" ]; }; boot.kernel.sysctl = {