chore: trying a different output
This commit is contained in:
parent
c19bf95e1f
commit
85263798eb
2 changed files with 27 additions and 5 deletions
15
flake.lock
15
flake.lock
|
@ -1,5 +1,19 @@
|
|||
{
|
||||
"nodes": {
|
||||
"flake-schemas": {
|
||||
"locked": {
|
||||
"lastModified": 1697467827,
|
||||
"narHash": "sha256-j8SR19V1SRysyJwpOBF4TLuAvAjF5t+gMiboN4gYQDU=",
|
||||
"rev": "764932025c817d4e500a8d2a4d8c565563923d29",
|
||||
"revCount": 29,
|
||||
"type": "tarball",
|
||||
"url": "https://api.flakehub.com/f/pinned/DeterminateSystems/flake-schemas/0.1.2/018b3da8-4cc3-7fbb-8ff7-1588413c53e2/source.tar.gz"
|
||||
},
|
||||
"original": {
|
||||
"type": "tarball",
|
||||
"url": "https://flakehub.com/f/DeterminateSystems/flake-schemas/0.1.2.tar.gz"
|
||||
}
|
||||
},
|
||||
"flake-utils": {
|
||||
"locked": {
|
||||
"lastModified": 1653893745,
|
||||
|
@ -365,6 +379,7 @@
|
|||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"flake-schemas": "flake-schemas",
|
||||
"nixago": "nixago",
|
||||
"nixago-exts": "nixago-exts_3",
|
||||
"nixpkgs": "nixpkgs"
|
||||
|
|
17
flake.nix
17
flake.nix
|
@ -9,6 +9,8 @@
|
|||
|
||||
nixago-exts.url = "github:nix-community/nixago-extensions";
|
||||
nixago-exts.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
flake-schemas.url = "https://flakehub.com/f/DeterminateSystems/flake-schemas/0.1.2.tar.gz";
|
||||
};
|
||||
|
||||
outputs = inputs @ { self, nixpkgs, nixago, nixago-exts, ... }:
|
||||
|
@ -21,6 +23,9 @@
|
|||
});
|
||||
in
|
||||
{
|
||||
# The schemes we use.
|
||||
schemas = inputs.flake-schemas.schemas;
|
||||
|
||||
# Expose the configuration options for setup.
|
||||
nixosModules = {
|
||||
mfgames-project-setup = import ./src/modules/default.nix;
|
||||
|
@ -28,11 +33,13 @@
|
|||
};
|
||||
|
||||
# Expose the configuration information.
|
||||
lib = forEachSupportedSystem ({ system, pkgs }:
|
||||
let
|
||||
configs = import ./src/configs/default.nix { inherit system pkgs nixago nixago-exts; };
|
||||
in
|
||||
configs);
|
||||
lib = {
|
||||
sayHello = nixpkgs."x86_64-linux".lib.debug.traceVal (name: "Hello there, ${name}!");
|
||||
};
|
||||
|
||||
configs =
|
||||
forEachSupportedSystem ({ system, pkgs }:
|
||||
(import ./src/configs/default.nix { inherit system pkgs nixago nixago-exts; }));
|
||||
|
||||
# Set up the developer shell.
|
||||
devShells = forEachSupportedSystem ({ system, pkgs }:
|
||||
|
|
Loading…
Reference in a new issue