Add system profile

This commit is contained in:
jade 2024-03-24 17:14:18 -07:00
parent f173ccc0aa
commit 41990c5d80
2 changed files with 12 additions and 1 deletions

View file

@ -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; };
});
}

8
system-profile.nix Normal file
View file

@ -0,0 +1,8 @@
{ pkgs, flakey-profile }:
flakey-profile.lib.mkProfile {
inherit pkgs;
paths = with pkgs; [
cacert
nix
];
}