mirror of
https://github.com/NotAShelf/stash.git
synced 2026-04-12 22:17:41 +00:00
nix: add NixOS module
Closes #3 Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I6a6a6964ecdb3bf1e5f7e2b902713eb8d2755ad1
This commit is contained in:
parent
b50702480f
commit
d3911dd81a
2 changed files with 83 additions and 0 deletions
|
|
@ -13,6 +13,11 @@
|
|||
forEachSystem = nixpkgs.lib.genAttrs systems;
|
||||
pkgsForEach = nixpkgs.legacyPackages;
|
||||
in {
|
||||
nixosModules = {
|
||||
stash = import ./nix/modules/nixos.nix self;
|
||||
default = self.nixosModules.stash;
|
||||
};
|
||||
|
||||
packages = forEachSystem (system: let
|
||||
craneLib = crane.mkLib pkgsForEach.${system};
|
||||
in {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue