From 0bf8bf7f7af2127af50a1b28bb44339271390c02 Mon Sep 17 00:00:00 2001 From: liv Date: Fri, 16 Aug 2024 01:28:50 +0200 Subject: [PATCH] a bunch of php setup --- home/common/cli/fish.nix | 1 + home/common/universal/default.nix | 2 ++ home/common/universal/php.nix | 7 +++++++ 3 files changed, 10 insertions(+) create mode 100644 home/common/universal/php.nix diff --git a/home/common/cli/fish.nix b/home/common/cli/fish.nix index 620a60a..32216d3 100644 --- a/home/common/cli/fish.nix +++ b/home/common/cli/fish.nix @@ -23,6 +23,7 @@ setpath ~/.cabal/bin setpath ~/.local/bin setpath ~/.bun/bin + setpath ~/Projects/Checkouts/arcanist/bin set -x EDITOR nvim set -x USER lu diff --git a/home/common/universal/default.nix b/home/common/universal/default.nix index 466acc2..3e72bf4 100644 --- a/home/common/universal/default.nix +++ b/home/common/universal/default.nix @@ -1,6 +1,7 @@ { pkgs, ... }: { imports = [ ./mise.nix + ./php.nix ]; home.packages = with pkgs; [ @@ -9,5 +10,6 @@ gnumake unzip openssl + autoconf ]; } diff --git a/home/common/universal/php.nix b/home/common/universal/php.nix new file mode 100644 index 0000000..39bb614 --- /dev/null +++ b/home/common/universal/php.nix @@ -0,0 +1,7 @@ +# install php from nixpkgs because mise wants to compile it from source, +# and that's a whole can of beans i'm not getting into +{ pkgs, ... }: { + home.packages = with pkgs; [ + php83 + ]; +}