forked from lix-project/nixos-module
Add system profile
This commit is contained in:
parent
9b5adef52d
commit
d28160f571
|
@ -6,8 +6,9 @@
|
||||||
};
|
};
|
||||||
inputs.flake-utils.url = "github:numtide/flake-utils";
|
inputs.flake-utils.url = "github:numtide/flake-utils";
|
||||||
inputs.flake-compat.url = "git+ssh://git@git.lix.systems/lix-project/flake-compat";
|
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;
|
inherit inputs;
|
||||||
nixosModules.default = import ./module.nix { inherit lix; };
|
nixosModules.default = import ./module.nix { inherit lix; };
|
||||||
overlays.default = import ./overlay.nix {
|
overlays.default = import ./overlay.nix {
|
||||||
|
@ -25,5 +26,7 @@
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
packages.default = pkgs.nixVersions.nix_2_18;
|
packages.default = pkgs.nixVersions.nix_2_18;
|
||||||
packages.nix-doc = pkgs.nix-doc;
|
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