feat: migrate to anyrun

This commit is contained in:
2023-12-15 01:30:05 +01:00
parent 812c2749c0
commit 45c7278dab
8 changed files with 135 additions and 101 deletions

View File

@@ -15,6 +15,11 @@
url = "github:nix-community/nixvim";
inputs.nixpkgs.follows = "nixpkgs";
};
anyrun = {
url = "github:Kirottu/anyrun";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = {
@@ -22,6 +27,7 @@
home-manager,
ags,
nixvim,
anyrun,
...
}: let
username = "theaninova";
@@ -31,6 +37,9 @@
pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
overlays = [
(final: prev: {anyrunPlugins = anyrun.packages.${prev.system};})
];
};
homeDirPrefix =
@@ -48,8 +57,9 @@
modules = [
ags.homeManagerModules.default
home
nixvim.homeManagerModules.nixvim
anyrun.homeManagerModules.default
home
];
};
};