devshell!
This commit is contained in:
parent
001f641a7f
commit
c560e894fb
1 changed files with 18 additions and 11 deletions
29
flake.nix
29
flake.nix
|
@ -48,20 +48,27 @@
|
||||||
{
|
{
|
||||||
inherit lib;
|
inherit lib;
|
||||||
formatter = forAllSystems (system: nixpkgs.legacyPackages.${system}.nixpkgs-fmt);
|
formatter = forAllSystems (system: nixpkgs.legacyPackages.${system}.nixpkgs-fmt);
|
||||||
colmena = {
|
|
||||||
meta = {
|
devShells = forAllSystems (system:
|
||||||
description = "All my NixoS machines";
|
let pkgs = import nixpkgs { system = system; }; in
|
||||||
specialArgs = { inherit inputs outputs; };
|
{ default = pkgs.mkShell { nativeBuildInputs = with pkgs; [ nix colmena git ]; }; });
|
||||||
nixpkgs = import nixpkgs {
|
|
||||||
system = "x86_64-linux";
|
colmena =
|
||||||
overlays = [ ];
|
{
|
||||||
|
meta = {
|
||||||
|
description = "All my NixoS machines";
|
||||||
|
specialArgs = { inherit inputs outputs; };
|
||||||
|
nixpkgs = import nixpkgs {
|
||||||
|
system = "x86_64-linux";
|
||||||
|
overlays = [ ];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
bengal = mkHost { hostname = "bengal"; };
|
||||||
|
|
||||||
|
maine-coon = mkHost { hostname = "maine-coon"; };
|
||||||
};
|
};
|
||||||
|
|
||||||
bengal = mkHost { hostname = "bengal"; };
|
|
||||||
|
|
||||||
maine-coon = mkHost { hostname = "maine-coon"; };
|
|
||||||
};
|
|
||||||
nixosConfigurations.test = nixpkgs.lib.nixosSystem {
|
nixosConfigurations.test = nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
|
|
Loading…
Reference in a new issue