summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2023-05-08 00:18:25 -0400
committerseth <[email protected]>2023-05-08 00:18:25 -0400
commit150bf82391638a4ea6a514fbd4704bb62ab22eb6 (patch)
tree493a04061ec18101aa259d7555496809650831d8 /flake.nix
parent5d3773f5ce23f0a07f73761d177130d885232a11 (diff)
feat: add flake-parts modules
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index 50a1bd4..d8e4e91 100644
--- a/flake.nix
+++ b/flake.nix
@@ -26,7 +26,7 @@
nixpkgsFor = forAllSystems (system: import nixpkgs {inherit system;});
packageSet = pkgs:
- with pkgs; rec {
+ with pkgs; {
treefetch = callPackage ./pkgs/treefetch.nix {};
swhkd = callPackage ./pkgs/swhkd {};
vim-just = callPackage ./pkgs/vim-just.nix {};
@@ -37,6 +37,12 @@
discord-canary = import ./pkgs/discord-canary.nix prev;
};
in {
+ flakeModules = {
+ default = import ./modules/flake;
+ flakeModules = import ./modules/flake/flakeModules.nix;
+ homeConfigurations = import ./modules/flake/homeConfigurations.nix;
+ };
+
formatter = forAllSystems (system: nixpkgsFor.${system}.alejandra);
herculesCI = {