mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
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:
parent
f00ff0f06f
commit
0cd8fa46c6
@ -7,10 +7,6 @@ let
|
|||||||
pkgs = import <nixpkgs> { };
|
pkgs = import <nixpkgs> { };
|
||||||
config' = import <config> { };
|
config' = import <config> { };
|
||||||
lib = pkgs.lib.extend (import <config/lib/extras/extend-lib.nix>);
|
lib = pkgs.lib.extend (import <config/lib/extras/extend-lib.nix>);
|
||||||
|
|
||||||
extraArgs = {
|
|
||||||
nix-colors = import <nix-colors> { };
|
|
||||||
};
|
|
||||||
in
|
in
|
||||||
import <nixpkgs/nixos/lib/eval-config.nix> {
|
import <nixpkgs/nixos/lib/eval-config.nix> {
|
||||||
inherit lib;
|
inherit lib;
|
||||||
@ -44,13 +40,10 @@ import <nixpkgs/nixos/lib/eval-config.nix> {
|
|||||||
<config/modules/home-manager/_private>
|
<config/modules/home-manager/_private>
|
||||||
<sops-nix/modules/home-manager/sops.nix>
|
<sops-nix/modules/home-manager/sops.nix>
|
||||||
({ config, lib, ... }: {
|
({ config, lib, ... }: {
|
||||||
_module.args = extraArgs;
|
|
||||||
xdg.userDirs.createDirectories = lib.mkForce true;
|
xdg.userDirs.createDirectories = lib.mkForce true;
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
_module.args = extraArgs;
|
|
||||||
|
|
||||||
workflows.workflows.${workflow}.enable = true;
|
workflows.workflows.${workflow}.enable = true;
|
||||||
|
|
||||||
nixpkgs.overlays = [
|
nixpkgs.overlays = [
|
||||||
|
@ -43,9 +43,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
defaultOverlays = lib.attrValues inputs.self.overlays;
|
defaultOverlays = lib.attrValues inputs.self.overlays;
|
||||||
defaultExtraArgs = {
|
|
||||||
inherit (inputs) nix-colors;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
perSystem = { lib, system, ... }: {
|
perSystem = { lib, system, ... }: {
|
||||||
|
@ -27,7 +27,6 @@
|
|||||||
inputs.nur.overlay
|
inputs.nur.overlay
|
||||||
];
|
];
|
||||||
modules = [
|
modules = [
|
||||||
inputs.nix-colors.homeManagerModules.default
|
|
||||||
inputs.nur.hmModules.nur
|
inputs.nur.hmModules.nur
|
||||||
];
|
];
|
||||||
nixvim.instance = "fiesta";
|
nixvim.instance = "fiesta";
|
||||||
|
51
flake.lock
generated
51
flake.lock
generated
@ -1,21 +1,5 @@
|
|||||||
{
|
{
|
||||||
"nodes": {
|
"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": {
|
"crane": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
@ -524,25 +508,6 @@
|
|||||||
"type": "github"
|
"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": {
|
"nix-darwin": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
@ -708,21 +673,6 @@
|
|||||||
"type": "github"
|
"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": {
|
"nixpkgs-stable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1707347730,
|
"lastModified": 1707347730,
|
||||||
@ -855,7 +805,6 @@
|
|||||||
"home-manager-stable": "home-manager-stable",
|
"home-manager-stable": "home-manager-stable",
|
||||||
"home-manager-unstable": "home-manager-unstable",
|
"home-manager-unstable": "home-manager-unstable",
|
||||||
"neovim-nightly-overlay": "neovim-nightly-overlay",
|
"neovim-nightly-overlay": "neovim-nightly-overlay",
|
||||||
"nix-colors": "nix-colors",
|
|
||||||
"nix-index-database": "nix-index-database",
|
"nix-index-database": "nix-index-database",
|
||||||
"nixos-generators": "nixos-generators",
|
"nixos-generators": "nixos-generators",
|
||||||
"nixos-stable": "nixos-stable",
|
"nixos-stable": "nixos-stable",
|
||||||
|
@ -71,9 +71,6 @@
|
|||||||
helix-editor.url = "github:helix-editor/helix";
|
helix-editor.url = "github:helix-editor/helix";
|
||||||
helix-editor.inputs.nixpkgs.follows = "nixpkgs";
|
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.
|
# Removing the manual partitioning part with a little boogie.
|
||||||
disko.url = "github:nix-community/disko";
|
disko.url = "github:nix-community/disko";
|
||||||
disko.inputs.nixpkgs.follows = "nixpkgs";
|
disko.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
Loading…
Reference in New Issue
Block a user