summaryrefslogtreecommitdiff
path: root/nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix')
-rw-r--r--nix/default.nix20
-rw-r--r--nix/module.nix7
2 files changed, 18 insertions, 9 deletions
diff --git a/nix/default.nix b/nix/default.nix
index a40d8f6..5e5a536 100644
--- a/nix/default.nix
+++ b/nix/default.nix
@@ -1,11 +1,13 @@
1{}: 1pkgs:
2 2
3let 3let
4 pkgs = import <nixpkgs> {}; 4 callPackage = pkgs.callPackageWith (pkgs // self);
5in rec { 5
6 cliparg = pkgs.callPackage ./cliparg.nix {}; 6 self = {
7 rebuild-system = pkgs.callPackage ./rebuild-system.nix {}; 7 cliparg = callPackage ./cliparg.nix {};
8 pulseaudio-ctl = pkgs.callPackage ./pulseaudio-ctl.nix {}; 8 rebuild-system = callPackage ./rebuild-system.nix {};
9 monitor-uucp = pkgs.callPackage ./monitor-uucp.nix {}; 9 pulseaudio-ctl = callPackage ./pulseaudio-ctl.nix {};
10 rolling-directory = pkgs.callPackage ./rolling-directory.nix {}; 10 monitor-uucp = callPackage ./monitor-uucp.nix {};
11} 11 rolling-directory = callPackage ./rolling-directory.nix {};
12 };
13in self
diff --git a/nix/module.nix b/nix/module.nix
new file mode 100644
index 0000000..c70d7e0
--- /dev/null
+++ b/nix/module.nix
@@ -0,0 +1,7 @@
1{ ... }:
2
3{
4 config = {
5 nixpkgs.config.packageOverrides = import ./default.nix;
6 };
7}