forked from lix-project/nixos-module
Add system profile
This commit is contained in:
parent
f173ccc0aa
commit
41990c5d80
|
@ -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
8
system-profile.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{ pkgs, flakey-profile }:
|
||||
flakey-profile.lib.mkProfile {
|
||||
inherit pkgs;
|
||||
paths = with pkgs; [
|
||||
cacert
|
||||
nix
|
||||
];
|
||||
}
|
Loading…
Reference in a new issue