mirror of
https://github.com/javalsai/lidm.git
synced 2025-08-31 02:18:00 +02:00
feat: make a complete nix module
This commit is contained in:
12
flake.nix
12
flake.nix
@@ -20,7 +20,13 @@
|
||||
|
||||
lidm = pkgs.callPackage assets/pkg/nix/lidm.nix {
|
||||
inherit pkgs;
|
||||
config = { inherit version; src = ./.; };
|
||||
lib = pkgs.lib;
|
||||
config = {
|
||||
inherit version;
|
||||
src = ./.;
|
||||
xsessions = null;
|
||||
wayland-sessions = null;
|
||||
};
|
||||
};
|
||||
in
|
||||
rec {
|
||||
@@ -28,5 +34,7 @@
|
||||
defaultPackage = lidm;
|
||||
devShell = pkgs.mkShell { buildInputs = lidm.nativeBuildInputs ++ [ pkgs.clang-tools ]; };
|
||||
}
|
||||
);
|
||||
) // {
|
||||
nixosModules.lidm = assets/pkg/nix/module.nix;
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user