From ecdf80143d211af689aef890067cd7ec26ad59a6 Mon Sep 17 00:00:00 2001 From: Sam Date: Sun, 23 Jun 2024 15:22:51 +0100 Subject: [PATCH] Update flake.lock and flake.nix * Remove flake-utils_2, nix-github-actions, nixpkgs_2, poetry2nix, systems_2, systems_3, and treefmt-nix_2 from flake.lock * Add alpha plugin configuration in home/common/core/nixvim/plugins/alpha.nix * Include alpha plugin in home/common/core/nixvim/plugins/default.nix --- flake.lock | 128 -------------------- flake.nix | 1 + home/common/core/nixvim/plugins/alpha.nix | 10 ++ home/common/core/nixvim/plugins/default.nix | 1 + 4 files changed, 12 insertions(+), 128 deletions(-) create mode 100644 home/common/core/nixvim/plugins/alpha.nix diff --git a/flake.lock b/flake.lock index c2c4bc8..d330d3e 100644 --- a/flake.lock +++ b/flake.lock @@ -127,24 +127,6 @@ "type": "github" } }, - "flake-utils_2": { - "inputs": { - "systems": "systems_2" - }, - "locked": { - "lastModified": 1710146030, - "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - }, "git-hooks": { "inputs": { "flake-compat": "flake-compat_2", @@ -292,27 +274,6 @@ "type": "github" } }, - "nix-github-actions": { - "inputs": { - "nixpkgs": [ - "poetry2nix", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1703863825, - "narHash": "sha256-rXwqjtwiGKJheXB43ybM8NwWB8rO2dSRrEqes0S7F5Y=", - "owner": "nix-community", - "repo": "nix-github-actions", - "rev": "5163432afc817cf8bd1f031418d1869e4c9d5547", - "type": "github" - }, - "original": { - "owner": "nix-community", - "repo": "nix-github-actions", - "type": "github" - } - }, "nix-secrets": { "flake": false, "locked": { @@ -392,22 +353,6 @@ "type": "github" } }, - "nixpkgs_2": { - "locked": { - "lastModified": 1718632497, - "narHash": "sha256-YtlyfqOdYMuu7gumZtK0Kg7jr4OKfHUhJkZfNUryw68=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "c58b4a9118498c1055c5908a5bbe666e56abe949", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixos-unstable-small", - "repo": "nixpkgs", - "type": "github" - } - }, "nixvim": { "inputs": { "devshell": "devshell", @@ -451,28 +396,6 @@ "type": "github" } }, - "poetry2nix": { - "inputs": { - "flake-utils": "flake-utils_2", - "nix-github-actions": "nix-github-actions", - "nixpkgs": "nixpkgs_2", - "systems": "systems_3", - "treefmt-nix": "treefmt-nix_2" - }, - "locked": { - "lastModified": 1718881664, - "narHash": "sha256-ZULRSiURptz6Da+yECzQDS30IIEAEOYyIAv5rs+p9Fg=", - "owner": "nix-community", - "repo": "poetry2nix", - "rev": "5392004e2b350afda0dd5e92ccd53ab9b1261947", - "type": "github" - }, - "original": { - "owner": "nix-community", - "repo": "poetry2nix", - "type": "github" - } - }, "root": { "inputs": { "disko": "disko", @@ -484,7 +407,6 @@ "nixpkgs-unstable": "nixpkgs-unstable", "nixvim": "nixvim", "nur": "nur", - "poetry2nix": "poetry2nix", "sops-nix": "sops-nix" } }, @@ -524,35 +446,6 @@ "type": "github" } }, - "systems_2": { - "locked": { - "lastModified": 1681028828, - "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", - "owner": "nix-systems", - "repo": "default", - "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "default", - "type": "github" - } - }, - "systems_3": { - "locked": { - "lastModified": 1681028828, - "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", - "owner": "nix-systems", - "repo": "default", - "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", - "type": "github" - }, - "original": { - "id": "systems", - "type": "indirect" - } - }, "treefmt-nix": { "inputs": { "nixpkgs": [ @@ -573,27 +466,6 @@ "repo": "treefmt-nix", "type": "github" } - }, - "treefmt-nix_2": { - "inputs": { - "nixpkgs": [ - "poetry2nix", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1718522839, - "narHash": "sha256-ULzoKzEaBOiLRtjeY3YoGFJMwWSKRYOic6VNw2UyTls=", - "owner": "numtide", - "repo": "treefmt-nix", - "rev": "68eb1dc333ce82d0ab0c0357363ea17c31ea1f81", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "treefmt-nix", - "type": "github" - } } }, "root": "root", diff --git a/flake.nix b/flake.nix index 074f79a..d962aa0 100644 --- a/flake.nix +++ b/flake.nix @@ -116,4 +116,5 @@ ]; }; }; + }; } diff --git a/home/common/core/nixvim/plugins/alpha.nix b/home/common/core/nixvim/plugins/alpha.nix new file mode 100644 index 0000000..2853980 --- /dev/null +++ b/home/common/core/nixvim/plugins/alpha.nix @@ -0,0 +1,10 @@ +{ + programs.nixvim.plugins = { + alpha = { + enable = true; + iconsEnabled = true; + theme = "dashboard"; + }; + }; +} + diff --git a/home/common/core/nixvim/plugins/default.nix b/home/common/core/nixvim/plugins/default.nix index 06952ff..e2002c9 100644 --- a/home/common/core/nixvim/plugins/default.nix +++ b/home/common/core/nixvim/plugins/default.nix @@ -13,6 +13,7 @@ ./surround.nix ./telescope.nix ./treesitter.nix + ./alpha.nix ]; # Load Plugins that aren't provided as modules by nixvim