diff options
| author | lassulus <lassulus@lassul.us> | 2022-12-05 21:32:08 +0100 |
|---|---|---|
| committer | lassulus <lassulus@lassul.us> | 2022-12-05 21:32:08 +0100 |
| commit | 39890f5c38730caeb3ea32d024802cc29cde7094 (patch) | |
| tree | 24afac83009d07368f893b56a0ec0ff0004be179 /tv/2configs | |
| parent | 156be237fb987292eba6c9f166b53ee9f3980fd3 (diff) | |
| parent | a55064d787e0f1bca999b23e23fff2393e8c6858 (diff) | |
Merge remote-tracking branch 'ni/master' into 22.11
Diffstat (limited to 'tv/2configs')
| -rw-r--r-- | tv/2configs/default.nix | 15 | ||||
| -rw-r--r-- | tv/2configs/gitrepos.nix | 2 | ||||
| -rw-r--r-- | tv/2configs/hw/x220.nix | 4 | ||||
| -rw-r--r-- | tv/2configs/vim.nix | 2 |
4 files changed, 12 insertions, 11 deletions
diff --git a/tv/2configs/default.nix b/tv/2configs/default.nix index f3ce2da..c904702 100644 --- a/tv/2configs/default.nix +++ b/tv/2configs/default.nix @@ -46,14 +46,15 @@ with import <stockholm/lib>; } { - # TODO check if both are required: - nix.sandboxPaths = [ "/etc/protocols" pkgs.iana-etc.outPath ]; - - nix.requireSignedBinaryCaches = true; - - nix.binaryCaches = ["https://cache.nixos.org"]; + nix.extraOptions = '' + auto-optimise-store = true + ''; - nix.useSandbox = true; + # TODO check if both are required: + nix.settings.extra-sandbox-paths = [ + "/etc/protocols" + pkgs.iana-etc.outPath + ]; } { nixpkgs.config.allowUnfree = false; diff --git a/tv/2configs/gitrepos.nix b/tv/2configs/gitrepos.nix index 50444c1..4fba5fe 100644 --- a/tv/2configs/gitrepos.nix +++ b/tv/2configs/gitrepos.nix @@ -134,7 +134,6 @@ let { web-routes-wai-custom = {}; xintmap = {}; xmonad-aeson = {}; - xmonad-stockholm = {}; xmonad-web = {}; } // mapAttrs (_: recursiveUpdate { cgit.section = "4. museum"; }) { cac-api = { @@ -165,6 +164,7 @@ let { soundcloud = { cgit.desc = "SoundCloud command line interface"; }; + xmonad-stockholm = {}; }); restricted-repos = mapAttrs make-restricted-repo ( diff --git a/tv/2configs/hw/x220.nix b/tv/2configs/hw/x220.nix index 8c68cde..25e2eff 100644 --- a/tv/2configs/hw/x220.nix +++ b/tv/2configs/hw/x220.nix @@ -28,8 +28,8 @@ in } { - nix.buildCores = 2; - nix.maxJobs = 2; + nix.settings.cores = 2; + nix.settings.max-jobs = 2; } (if lib.versionAtLeast (lib.versions.majorMinor lib.version) "21.11" then { nix.daemonCPUSchedPolicy = "batch"; diff --git a/tv/2configs/vim.nix b/tv/2configs/vim.nix index fed74c9..e296a0c 100644 --- a/tv/2configs/vim.nix +++ b/tv/2configs/vim.nix @@ -13,7 +13,7 @@ let { environment.variables.VIMINIT = ":so /etc/vimrc"; }; - extra-runtimepath = concatMapStringsSep "," (pkg: "${pkg.rtp}") [ + extra-runtimepath = pkgs.tv.vim.makeRuntimePath [ pkgs.tv.vimPlugins.elixir pkgs.tv.vimPlugins.file-line pkgs.tv.vimPlugins.fzf |
