commit 1acdab841cd7d7b24e1328b5ea789e49cbc1e420
parent d172c7df34e75c9b8965800aab4f64dc024d8af6
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date: Sun, 4 Dec 2022 02:41:14 +0300
Remove unused lib and overlays
Diffstat:
3 files changed, 1 insertion(+), 18 deletions(-)
diff --git a/default.nix b/default.nix
@@ -6,16 +6,11 @@
# commands such as:
# nix-build -A mypackage
-{ pkgs ? import <nixpkgs> args
-, system ? builtins.currentSystem
-, ...
-}@args:
+{ pkgs ? import <nixpkgs> { } }:
{
# The `lib`, `modules`, and `overlay` names are special
- lib = import ./lib { inherit pkgs; }; # functions
modules = import ./modules; # NixOS modules
- overlays = import ./overlays; # nixpkgs overlays
} // (pkgs.lib.optionalAttrs (builtins.tryEval pkgs).success (import ./pkgs {
inherit pkgs;
}
diff --git a/lib/default.nix b/lib/default.nix
@@ -1,7 +0,0 @@
-{ pkgs }:
-
-with pkgs.lib; {
- # Add your library functions here
- #
- # hexint = x: hexvals.${toLower x};
-}
diff --git a/overlays/default.nix b/overlays/default.nix
@@ -1,5 +0,0 @@
-{
- # Add your overlays here
- #
- # my-overlay = import ./my-overlay;
-}