flake: remove nix-colors dependency

There are some things missing such as the capability to hold some data
for generating multiple theme configs for programs. I could implement
that with a quick custom module instead.
This commit is contained in:
Gabriel Arazas 2024-02-09 17:47:14 +08:00
parent f00ff0f06f
commit 0cd8fa46c6
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC
5 changed files with 0 additions and 65 deletions

View File

@ -7,10 +7,6 @@ let
pkgs = import <nixpkgs> { };
config' = import <config> { };
lib = pkgs.lib.extend (import <config/lib/extras/extend-lib.nix>);
extraArgs = {
nix-colors = import <nix-colors> { };
};
in
import <nixpkgs/nixos/lib/eval-config.nix> {
inherit lib;
@ -44,13 +40,10 @@ import <nixpkgs/nixos/lib/eval-config.nix> {
<config/modules/home-manager/_private>
<sops-nix/modules/home-manager/sops.nix>
({ config, lib, ... }: {
_module.args = extraArgs;
xdg.userDirs.createDirectories = lib.mkForce true;
})
];
_module.args = extraArgs;
workflows.workflows.${workflow}.enable = true;
nixpkgs.overlays = [

View File

@ -43,9 +43,6 @@
};
defaultOverlays = lib.attrValues inputs.self.overlays;
defaultExtraArgs = {
inherit (inputs) nix-colors;
};
};
perSystem = { lib, system, ... }: {

View File

@ -27,7 +27,6 @@
inputs.nur.overlay
];
modules = [
inputs.nix-colors.homeManagerModules.default
inputs.nur.hmModules.nur
];
nixvim.instance = "fiesta";

51
flake.lock generated
View File

@ -1,21 +1,5 @@
{
"nodes": {
"base16-schemes": {
"flake": false,
"locked": {
"lastModified": 1696158499,
"narHash": "sha256-5yIHgDTPjoX/3oDEfLSQ0eJZdFL1SaCfb9d6M0RmOTM=",
"owner": "tinted-theming",
"repo": "base16-schemes",
"rev": "a9112eaae86d9dd8ee6bb9445b664fba2f94037a",
"type": "github"
},
"original": {
"owner": "tinted-theming",
"repo": "base16-schemes",
"type": "github"
}
},
"crane": {
"inputs": {
"nixpkgs": [
@ -524,25 +508,6 @@
"type": "github"
}
},
"nix-colors": {
"inputs": {
"base16-schemes": "base16-schemes",
"nixpkgs-lib": "nixpkgs-lib_2"
},
"locked": {
"lastModified": 1706637303,
"narHash": "sha256-K6SqE9diWDCoEQ+MzuVlTfNrAKcdIa/dLHBtKfz445U=",
"owner": "misterio77",
"repo": "nix-colors",
"rev": "fc080c51d2a219b40d886870e364243783ed5ca1",
"type": "github"
},
"original": {
"owner": "misterio77",
"repo": "nix-colors",
"type": "github"
}
},
"nix-darwin": {
"inputs": {
"nixpkgs": [
@ -708,21 +673,6 @@
"type": "github"
}
},
"nixpkgs-lib_2": {
"locked": {
"lastModified": 1697935651,
"narHash": "sha256-qOfWjQ2JQSQL15KLh6D7xQhx0qgZlYZTYlcEiRuAMMw=",
"owner": "nix-community",
"repo": "nixpkgs.lib",
"rev": "e1e11fdbb01113d85c7f41cada9d2847660e3902",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nixpkgs.lib",
"type": "github"
}
},
"nixpkgs-stable": {
"locked": {
"lastModified": 1707347730,
@ -855,7 +805,6 @@
"home-manager-stable": "home-manager-stable",
"home-manager-unstable": "home-manager-unstable",
"neovim-nightly-overlay": "neovim-nightly-overlay",
"nix-colors": "nix-colors",
"nix-index-database": "nix-index-database",
"nixos-generators": "nixos-generators",
"nixos-stable": "nixos-stable",

View File

@ -71,9 +71,6 @@
helix-editor.url = "github:helix-editor/helix";
helix-editor.inputs.nixpkgs.follows = "nixpkgs";
# Generating an entire flavored themes with Nix?
nix-colors.url = "github:misterio77/nix-colors";
# Removing the manual partitioning part with a little boogie.
disko.url = "github:nix-community/disko";
disko.inputs.nixpkgs.follows = "nixpkgs";