diff --git a/flake.lock b/flake.lock index 79d6152..31ea70c 100644 --- a/flake.lock +++ b/flake.lock @@ -117,11 +117,11 @@ ] }, "locked": { - "lastModified": 1678662458, - "narHash": "sha256-BW+C3Pln6LVrGMVEN2Py0cY+a+VEEddhW86cNj8GB3E=", + "lastModified": 1678886248, + "narHash": "sha256-ff81NJtc+AgQhUlTCkx8t8hda0o72vSxDeHVGrfxH70=", "owner": "nix-community", "repo": "home-manager", - "rev": "46f637bd801b4d6d2afa06e13b6776e9fbfb0a79", + "rev": "2bd74d92bc7345f323ebcbfeb631d5cf4067ed8e", "type": "github" }, "original": { @@ -144,11 +144,11 @@ ] }, "locked": { - "lastModified": 1678669625, - "narHash": "sha256-xf8yX72QeotdFpM2Mu8s5/ZtYYM+dzfnH7FrEI6UGNI=", + "lastModified": 1678893101, + "narHash": "sha256-nufxiR356twptytHVLzcTY8Oc3ZyMoVLUhML+pP2xTY=", "owner": "hyprwm", "repo": "Hyprland", - "rev": "17deeb07ad4ce1b34bfe22524f9b248c5c6e01e6", + "rev": "25d3d73dbfcd2dd4d7b8254cb97f0f7737cd7c03", "type": "github" }, "original": { @@ -184,11 +184,11 @@ ] }, "locked": { - "lastModified": 1677282271, - "narHash": "sha256-wNooEHZpKMJN2jj2qPa1jRhi6f5q1yTYCxQcXEJ32eM=", + "lastModified": 1678893556, + "narHash": "sha256-FHhBetkV/S7M9BMpbCzUWX/P5E7tGE4mZIpj/2m0K2M=", "owner": "hyprwm", "repo": "hyprpaper", - "rev": "83867464c523c3ac2f7ce53d2c4b8d4f9b7551cd", + "rev": "61961973cfd10853b32c7f904cdb88f9ab6d84dd", "type": "github" }, "original": { @@ -216,6 +216,26 @@ "type": "github" } }, + "nix-index-database": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1678780868, + "narHash": "sha256-r6EfMQCAGX5JE6lW4YgZdH7bOSi1pul1TCbAJ7bVfSw=", + "owner": "Mic92", + "repo": "nix-index-database", + "rev": "b61432cc89bb6d16aa30cf546e8dca3d4fea006b", + "type": "github" + }, + "original": { + "owner": "Mic92", + "repo": "nix-index-database", + "type": "github" + } + }, "nixos-hardware": { "locked": { "lastModified": 1678397099, @@ -233,11 +253,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1678654296, - "narHash": "sha256-aVfw3ThpY7vkUeF1rFy10NAkpKDS2imj3IakrzT0Occ=", + "lastModified": 1678819893, + "narHash": "sha256-lfA6WGdxPsPkBK5Y19ltr5Sn7v7MlT+jpZ4nUgco0Xs=", "owner": "nixos", "repo": "nixpkgs", - "rev": "5a1dc8acd977ff3dccd1328b7c4a6995429a656b", + "rev": "7067edc68c035e21780259ed2d26e1f164addaa2", "type": "github" }, "original": { @@ -306,11 +326,11 @@ "pre-commit-hooks": "pre-commit-hooks" }, "locked": { - "lastModified": 1678701483, - "narHash": "sha256-RLIsp/nChcsUHsmGxolaHQupQI174AsVLwhDSlqVNDw=", + "lastModified": 1678878371, + "narHash": "sha256-kufkCW38V+WT3YZNZvEdt/nZaGo9RXZD4/IZTYIqxsc=", "owner": "pta2002", "repo": "nixvim", - "rev": "1ac27edf2ea2fd8a04a070e7305f892ec713d2ec", + "rev": "e33e62ff6191fa93edd142f51071dea5335d559f", "type": "github" }, "original": { @@ -379,6 +399,7 @@ "hyprland-protocols": "hyprland-protocols", "hyprpaper": "hyprpaper", "nix-colors": "nix-colors", + "nix-index-database": "nix-index-database", "nixos-hardware": "nixos-hardware", "nixpkgs": "nixpkgs", "nixvim": "nixvim", diff --git a/flake.nix b/flake.nix index 2516ae5..d2847fe 100644 --- a/flake.nix +++ b/flake.nix @@ -19,6 +19,11 @@ }; }; + nix-index-database = { + url = github:Mic92/nix-index-database; + inputs.nixpkgs.follows = "nixpkgs"; + }; + nix-colors = { url = github:Misterio77/nix-colors; }; @@ -68,6 +73,7 @@ { self , nixpkgs , home-manager + , nix-index-database , hyprland , sops-nix , nix-colors @@ -94,6 +100,7 @@ hyprland.homeManagerModules.default nixvim.homeManagerModules.nixvim sops-nix.homeManagerModules.sops + nix-index-database.hmModules.nix-index ]; config = { colorScheme = nix-colors.colorSchemes.dracula; diff --git a/users/rouven/modules/neovim/default.nix b/users/rouven/modules/neovim/default.nix index 5a656af..05b3bfb 100644 --- a/users/rouven/modules/neovim/default.nix +++ b/users/rouven/modules/neovim/default.nix @@ -70,6 +70,9 @@ telescope = { enable = true; }; + fugitive = { + enable = true; + }; lsp = { enable = true; onAttach = '' diff --git a/users/rouven/modules/packages.nix b/users/rouven/modules/packages.nix index bbee51a..410946f 100644 --- a/users/rouven/modules/packages.nix +++ b/users/rouven/modules/packages.nix @@ -71,6 +71,7 @@ ]; programs.obs-studio.enable = true; + programs.nix-index.enable = true; xdg.mimeApps = { enable = true;