28 lines
650 B
Nix
28 lines
650 B
Nix
{
|
|
description = "A library flake for shared modules accross my installations";
|
|
|
|
inputs = {
|
|
flake-compat = {
|
|
url = "github:edolstra/flake-compat";
|
|
flake = false;
|
|
};
|
|
utils.url = "github:numtide/flake-utils";
|
|
nixpkgs.url = "flake:nixpkgs/nixos-unstable";
|
|
};
|
|
|
|
outputs = { self, utils, nixpkgs, ... }: let
|
|
lib = nixpkgs.lib;
|
|
system = "x86_64-linux";
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
assembledModule = import ./.;
|
|
in {
|
|
nixosModules = rec {
|
|
grimmShared = assembledModule;
|
|
default = assembledModule;
|
|
};
|
|
# nixosModule = self.nixosModules.default; # compatibility
|
|
};
|
|
}
|
|
|
|
|
|
|