diff options
author | Azat Bahawi <azat@bahawi.net> | 2023-12-10 13:13:40 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2023-12-10 13:13:40 +0300 |
commit | 2d042c19294619c8ac673db4e1007824cf0811f2 (patch) | |
tree | 24382b073d9a75522c9de2e4a96768af2916daae /modules | |
parent | 2023-12-03 (diff) |
2023-12-10
Diffstat (limited to 'modules')
-rw-r--r-- | modules/common/emacs/default.nix | 8 | ||||
-rw-r--r-- | modules/nixos/common/nix.nix | 4 | ||||
-rw-r--r-- | modules/nixos/unbound.nix | 6 |
3 files changed, 6 insertions, 12 deletions
diff --git a/modules/common/emacs/default.nix b/modules/common/emacs/default.nix index 5402b34..6d1b549 100644 --- a/modules/common/emacs/default.nix +++ b/modules/common/emacs/default.nix @@ -61,8 +61,6 @@ in { text = concatLines [ ( let - # NOTE Packages required for vterm here are mostly only used for - # initially compiling the libvterm library. extraBins = with pkgs; [ (aspellWithDicts (p: with p; [en ru])) # :checkers (spell +aspell) @@ -70,7 +68,6 @@ in { asmfmt # :editor format cargo # :lang rust clang-tools # :lang (cc +lsp) :editor format - cmake # :lang cc :term vterm cmake-format # :lang cc :editor format cmigemo # :lang japanese config.hm.programs.emacs.package # !doom @@ -79,9 +76,8 @@ in { dockfmt # :tools docker :editor format editorconfig-core-c # :tools editorconfig fd # doom! - gcc # :lang cc :term vterm + gcc # :lang cc ghc # :lang haskell - gnumake # :term vterm gnuplot # :lang (org +gnuplot) gnutar # :tools tree-sitter gnutls # doom! :app irc @@ -103,7 +99,6 @@ in { html-tidy # :lang web :editor format jdk # :lang java :lang plantuml :checkers grammar languagetool # :checkers grammar - libtool # :term vterm libxml2 # :lang data :editor format markdownlint-cli # :lang markdown nil # :lang (nix +lsp) @@ -117,7 +112,6 @@ in { nodePackages.vscode-json-languageserver-bin # lang (json +lsp) nodejs # :tools debugger pandoc # :lang org markdown latex - perl # :term vterm pinentry-emacs # doom! pipenv # :lang python pre-commit # :tools magit diff --git a/modules/nixos/common/nix.nix b/modules/nixos/common/nix.nix index e21cc5c..2976cfc 100644 --- a/modules/nixos/common/nix.nix +++ b/modules/nixos/common/nix.nix @@ -2,7 +2,6 @@ config, inputs, lib, - this, ... }: with lib; let @@ -15,9 +14,10 @@ in { }; config = { - nix = mkIf this.isHeadless { + nix = { daemonCPUSchedPolicy = "idle"; daemonIOSchedClass = "idle"; + daemonIOSchedPriority = 7; }; nixpkgs.config.allowUnfreePredicate = p: elem (getName p) cfg.allowedUnfreePackages; diff --git a/modules/nixos/unbound.nix b/modules/nixos/unbound.nix index c7338e5..18e6867 100644 --- a/modules/nixos/unbound.nix +++ b/modules/nixos/unbound.nix @@ -133,9 +133,9 @@ in { extended-statistics = true; - log-replies = true; - log-tag-queryreply = true; - log-local-actions = true; + log-replies = false; + log-tag-queryreply = false; + log-local-actions = false; verbosity = 0; |