From d28160f571b4250a5a3f71d0bce7bf98a90c5fd6 Mon Sep 17 00:00:00 2001 From: Jade Lovelace Date: Sun, 24 Mar 2024 17:14:18 -0700 Subject: [PATCH] Add system profile --- flake.nix | 5 ++++- system-profile.nix | 8 ++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 system-profile.nix diff --git a/flake.nix b/flake.nix index aab8aaf..0df20cb 100644 --- a/flake.nix +++ b/flake.nix @@ -6,8 +6,9 @@ }; inputs.flake-utils.url = "github:numtide/flake-utils"; inputs.flake-compat.url = "git+ssh://git@git.lix.systems/lix-project/flake-compat"; + inputs.flakey-profile.url = "https://github.com/lf-/flakey-profile"; - outputs = inputs@{ self, nixpkgs, lix, flake-utils, ... }: { + outputs = inputs@{ self, nixpkgs, lix, flake-utils, flakey-profile, ... }: { inherit inputs; nixosModules.default = import ./module.nix { inherit lix; }; overlays.default = import ./overlay.nix { @@ -25,5 +26,7 @@ inherit pkgs; packages.default = pkgs.nixVersions.nix_2_18; packages.nix-doc = pkgs.nix-doc; + + packages.system-profile = import ./system-profile.nix { inherit pkgs flakey-profile; }; }); } diff --git a/system-profile.nix b/system-profile.nix new file mode 100644 index 0000000..e76fcd2 --- /dev/null +++ b/system-profile.nix @@ -0,0 +1,8 @@ +{ pkgs, flakey-profile }: +flakey-profile.lib.mkProfile { + inherit pkgs; + paths = with pkgs; [ + cacert + nix + ]; +}