From 757ebd62d153dc404f82c597984d7271ec2adba0 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Wed, 23 Oct 2024 17:24:37 +0200 Subject: feat(modules/nix): Switch to `lix` `nix` is currently constantly failing to open some of the sqlite databases, which is just really obnoxious. Although, as I have later found out, this is caused by a `bindfs` fuse mount on `~/.cache`. This process is running against the `1024` open fd soft limit, and thus refusing to open another one for the database. --- bootstrap/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bootstrap') diff --git a/bootstrap/default.nix b/bootstrap/default.nix index 1f727cd8..c47df9da 100644 --- a/bootstrap/default.nix +++ b/bootstrap/default.nix @@ -6,19 +6,19 @@ ensure_config_variables_dependencies = builtins.attrValues {inherit (pkgs) systemd jq dash gnugrep curl;}; replacementStrings = {SCRIPT_ENSURE_CONFIG_VARIABLES = "${ensure_config_variables}/bin/ensure_config_variables";}; activate = sysLib.writeShellScript { - dependencies = with pkgs; [jq gawk curl coreutils libuuid nixVersions.latest git] ++ ensure_config_variables_dependencies; + dependencies = with pkgs; [jq gawk curl coreutils libuuid lix git] ++ ensure_config_variables_dependencies; name = "activate"; src = ./01_activate.sh; inherit replacementStrings; }; install = sysLib.writeShellScript { - dependencies = with pkgs; [jq dash curl gawk btrfs-progs coreutils libuuid gptfdisk dosfstools toybox nixVersions.latest git] ++ ensure_config_variables_dependencies; + dependencies = with pkgs; [jq dash curl gawk btrfs-progs coreutils libuuid gptfdisk dosfstools toybox lix git] ++ ensure_config_variables_dependencies; name = "install"; src = ./01_install.sh; inherit replacementStrings; }; setup = sysLib.writeShellScript { - dependencies = with pkgs; [dash gawk curl git nixVersions.latest gnugrep nixos-install-tools coreutils libuuid] ++ ensure_config_variables_dependencies; + dependencies = with pkgs; [dash gawk curl git lix gnugrep nixos-install-tools coreutils libuuid] ++ ensure_config_variables_dependencies; name = "setup"; src = ./02_setup.sh; inherit replacementStrings; -- cgit 1.4.1