changed
This commit is contained in:
parent
970cb0a321
commit
268fa2ba6f
1 changed files with 45 additions and 41 deletions
10
flake.nix
10
flake.nix
|
|
@ -8,7 +8,8 @@
|
|||
|
||||
outputs =
|
||||
{ self, nixpkgs, flake-utils }:
|
||||
flake-utils.lib.eachDefaultSystem (system:
|
||||
let
|
||||
perSystem = flake-utils.lib.eachDefaultSystem (system:
|
||||
let
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
lib = pkgs.lib;
|
||||
|
|
@ -55,11 +56,14 @@
|
|||
pkgs.gnumake
|
||||
];
|
||||
};
|
||||
}
|
||||
);
|
||||
in
|
||||
perSystem // {
|
||||
nixosModules.default =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
environment.systemPackages = [ self.packages.${pkgs.system}.default ];
|
||||
};
|
||||
}
|
||||
);
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue