1
0
mirror of https://github.com/kmein/niveum synced 2026-03-18 19:11:08 +01:00

fix: dont get scripts from overlay

This commit is contained in:
2022-09-23 23:31:14 +02:00
parent e2cf761aea
commit b5addef848
5 changed files with 20 additions and 20 deletions

View File

@@ -7,6 +7,7 @@
}: let
inherit (lib.strings) makeBinPath;
inherit (import <niveum/lib>) localAddresses kieran;
scripts = import <niveum/packages/scripts> {inherit pkgs lib;};
in {
imports = [
<home-manager/nixos>
@@ -38,14 +39,6 @@ in {
});
};
};
overlays = [
(self: super: {
scripts = import <niveum/packages/scripts> {
pkgs = super;
lib = super.lib;
};
})
];
};
}
{
@@ -121,7 +114,7 @@ in {
cd "$(mktemp -d)"
pwd
'';
swallow = command: "${pkgs.scripts.swallow}/bin/swallow ${command}";
swallow = command: "${scripts.swallow}/bin/swallow ${command}";
in {
"ß" = "${pkgs.utillinux}/bin/setsid";
cat = "${pkgs.bat}/bin/bat --style=plain";