From e1328143a2752da98efeab52b19b436a3f2b1894 Mon Sep 17 00:00:00 2001 From: Matei Adriel Date: Sun, 30 Jan 2022 14:57:47 +0200 Subject: [PATCH] feat: alacritty theme working --- flake.lock | 17 ++++++++++++++ flake.nix | 2 +- modules/applications/alacritty.nix | 36 ------------------------------ modules/overlays/flakes.nix | 5 +---- 4 files changed, 19 insertions(+), 41 deletions(-) diff --git a/flake.lock b/flake.lock index 2af7201..82bac41 100644 --- a/flake.lock +++ b/flake.lock @@ -48,6 +48,22 @@ "type": "github" } }, + "githubNvimTheme": { + "flake": false, + "locked": { + "lastModified": 1642931254, + "narHash": "sha256-3Rp0oL+yhojQ6bIejS4IlPzyrxut7LcuobykonrpAEc=", + "owner": "projekt0n", + "repo": "github-nvim-theme", + "rev": "1700dfe790985ce859868e16e13dcda0ec80cb3f", + "type": "github" + }, + "original": { + "owner": "projekt0n", + "repo": "github-nvim-theme", + "type": "github" + } + }, "home-manager": { "inputs": { "nixpkgs": [ @@ -121,6 +137,7 @@ "agnoster": "agnoster", "easy-dhall-nix": "easy-dhall-nix", "easy-purescript-nix": "easy-purescript-nix", + "githubNvimTheme": "githubNvimTheme", "home-manager": "home-manager", "nixos-unstable": "nixos-unstable", "nixpkgs": "nixpkgs", diff --git a/flake.nix b/flake.nix index 2c9ce2c..e892a55 100644 --- a/flake.nix +++ b/flake.nix @@ -22,7 +22,7 @@ agnoster.flake = false; githubNvimTheme.url = "github:projekt0n/github-nvim-theme"; - githubNvimTheme.flake = true; + githubNvimTheme.flake = false; }; outputs = inputs@{ self, nixpkgs, home-manager, ... }: diff --git a/modules/applications/alacritty.nix b/modules/applications/alacritty.nix index 0108f0b..29cfd92 100644 --- a/modules/applications/alacritty.nix +++ b/modules/applications/alacritty.nix @@ -24,42 +24,6 @@ in { # transparent bg:) background_opacity = 0.6; fonts.normal.family = "Source Code Pro"; - - colors = { - cursor = { - text = "#c880b7"; - cursor = "#fcf68d"; - }; - selection = { - text = "#b5b5b5"; - background = "#18354f"; - }; - primary = { - background = "#d1d5ff"; - foreground = "#18354f"; - }; - normal = { - black = "#3d0a3b"; - red = "#c880b7"; - blue = "#6f38c7"; - yellow = "#8de336"; - green = "#00a3e3"; - magenta = "#ff4a9f"; - cyan = "#ff577e"; - white = "#e2e8ef"; - }; - bright = { - black = "#5e105c"; - red = "#b32ab5"; - green = "#2ec0f9"; - # green = "#b726d4"; - yellow = "#ded433"; - blue = "#4fb4db"; - magenta = "#b58297"; - cyan = "#ffcf66"; - white = "#ffffff"; - }; - }; }; }; } diff --git a/modules/overlays/flakes.nix b/modules/overlays/flakes.nix index 050a0cc..d56bd13 100644 --- a/modules/overlays/flakes.nix +++ b/modules/overlays/flakes.nix @@ -25,10 +25,7 @@ name = "agnoster"; }; - githubNvimTheme = { - src = githubNvimTheme; - name = "githubNvimTheme"; - }; + githubNvimTheme = githubNvimTheme; }) ]; })