mirror of
https://github.com/sbrow/nix.git
synced 2026-02-27 13:21:45 -05:00
feat: Updated default flake to include unstable packages.
This commit is contained in:
@@ -1,19 +1,34 @@
|
||||
{
|
||||
description = "A very basic flake";
|
||||
# description = "A very basic flake";
|
||||
|
||||
inputs = {
|
||||
# nixpkgs.url = "github:NixOS/nixpkgs/23.11";
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/23.11";
|
||||
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
|
||||
sbrow.url = "github:sbrow/nix";
|
||||
|
||||
flake-parts.url = "github:hercules-ci/flake-parts";
|
||||
# process-compose-flake.url = "github:Platonic-Systems/process-compose-flake";
|
||||
# sbrow.url = "github:sbrow/nix";
|
||||
};
|
||||
|
||||
outputs = inputs@{ self, flake-parts, nixpkgs, sbrow }:
|
||||
outputs = inputs@{ self, flake-parts, nixpkgs, nixpkgs-unstable/*, process-compose-flake, sbrow */ }:
|
||||
flake-parts.lib.mkFlake { inherit inputs; } {
|
||||
systems = [ "x86_64-linux" ];
|
||||
|
||||
perSystem = { pkgs, system, ... }: {
|
||||
imports = [
|
||||
# inputs.process-compose-flake.flakeModule
|
||||
];
|
||||
|
||||
perSystem = { inputs', pkgs, system, ... }: {
|
||||
_module.args.pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
config.allowUnfree = true;
|
||||
|
||||
overlays = [
|
||||
(final: prev: { unstable = inputs'.nixpkgs-unstable.legacyPackages; })
|
||||
];
|
||||
};
|
||||
|
||||
formatter = pkgs.nixpkgs-fmt;
|
||||
|
||||
devShells.default = pkgs.mkShell
|
||||
@@ -22,6 +37,8 @@
|
||||
# Your packages here
|
||||
];
|
||||
};
|
||||
|
||||
# process-compose.default.settings = { };
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user