summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-06-19 15:32:57 -0400
committerFreya Murphy <freya@freyacat.org>2025-06-19 15:32:57 -0400
commitd0e672386d7a756e7c7bc2a5530a00801fe203c9 (patch)
tree1864dfe3a8ec0492e3ef939efb2a10484e76cf4d /flake.nix
parentupdate astal notifications (diff)
downloaddotfiles-nix-d0e672386d7a756e7c7bc2a5530a00801fe203c9.tar.gz
dotfiles-nix-d0e672386d7a756e7c7bc2a5530a00801fe203c9.tar.bz2
dotfiles-nix-d0e672386d7a756e7c7bc2a5530a00801fe203c9.zip
add libs to flake
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix11
1 files changed, 10 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index b5e70c1..0088f41 100644
--- a/flake.nix
+++ b/flake.nix
@@ -31,6 +31,7 @@
};
outputs = {
+ self,
nixpkgs,
flake-utils,
...
@@ -58,9 +59,17 @@
kaworu = nixosConfigurations.kaworu.config.home-manager.users.${options.user}.home;
};
+ lib = import ./lib {
+ inherit inputs options;
+ inherit (nixpkgs) lib;
+ };
+
packages = perSystem (
pkgs: system:
- import ./pkgs {inherit pkgs inputs system options;}
+ import ./pkgs {
+ inherit pkgs inputs system options;
+ inherit (nixpkgs) lib;
+ }
);
legacyPackages = packages;