This commit is contained in:
Sridhar Ratnakumar 2024-12-20 10:44:58 -05:00
parent 68834596c1
commit cde3db64de
5 changed files with 50 additions and 2 deletions

40
flake.lock generated
View file

@ -250,6 +250,22 @@
}
},
"flake-compat_2": {
"flake": false,
"locked": {
"lastModified": 1696426674,
"narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
"owner": "edolstra",
"repo": "flake-compat",
"rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
"type": "github"
},
"original": {
"owner": "edolstra",
"repo": "flake-compat",
"type": "github"
}
},
"flake-compat_3": {
"locked": {
"lastModified": 1696426674,
"narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
@ -881,6 +897,27 @@
"type": "github"
}
},
"nix-index": {
"inputs": {
"flake-compat": "flake-compat_2",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1734697770,
"narHash": "sha256-pPJSqSwVQ1XagigG8sfpBweqTJp6IfEAGmxhcAk4tDg=",
"owner": "gvolpe",
"repo": "nix-index",
"rev": "dc0329df4bfe76b326756c2b7f3a811d5e910e2f",
"type": "github"
},
"original": {
"owner": "gvolpe",
"repo": "nix-index",
"type": "github"
}
},
"nix-index-database": {
"inputs": {
"nixpkgs": [
@ -1163,7 +1200,7 @@
"nixvim": {
"inputs": {
"devshell": "devshell",
"flake-compat": "flake-compat_2",
"flake-compat": "flake-compat_3",
"flake-parts": "flake-parts_3",
"git-hooks": "git-hooks_2",
"home-manager": "home-manager_3",
@ -1296,6 +1333,7 @@
"hyprland": "hyprland",
"nix-darwin": "nix-darwin",
"nix-doom-emacs-unstraightened": "nix-doom-emacs-unstraightened",
"nix-index": "nix-index",
"nix-index-database": "nix-index-database",
"nixos-hardware": "nixos-hardware",
"nixos-unified": "nixos-unified_2",

View file

@ -22,6 +22,11 @@
nixos-vscode-server.url = "github:nix-community/nixos-vscode-server";
nix-index-database.url = "github:nix-community/nix-index-database";
nix-index-database.inputs.nixpkgs.follows = "nixpkgs";
nix-index = {
# Fork with flake support https://github.com/gvolpe/nix-index/pull/1
url = "github:gvolpe/nix-index";
inputs.nixpkgs.follows = "nixpkgs";
};
actualism-app.url = "github:srid/actualism-app";
omnix.url = "github:juspay/omnix";
hyprland.url = "github:hyprwm/Hyprland/v0.45.2";

View file

@ -16,6 +16,7 @@
"nix-darwin"
"nixos-unified"
"nix-index-database"
"nix-index"
"nixvim"
"omnix"
];

View file

@ -60,11 +60,14 @@ in
};
programs = {
nix-index = {
# Command not found handler based on nixpkgs
nix-index-fork = {
enable = true;
enableZshIntegration = true;
enableNixCommand = true;
};
nix-index-database.comma.enable = true;
lsd = {
enable = true;
enableAliases = true;

View file

@ -11,6 +11,7 @@ in
users.users.${config.me.username}.isNormalUser = true;
home-manager.users.${config.me.username} = { };
home-manager.sharedModules = [
inputs.nix-index.homeManagerModules.${pkgs.system}.default
self.homeModules.default
self.homeModules.linux-only
];