diff --git a/flake.lock b/flake.lock index a0e4ea0..60641bf 100644 --- a/flake.lock +++ b/flake.lock @@ -1,5 +1,21 @@ { "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" + } + }, "home-manager": { "inputs": { "nixpkgs": [ @@ -171,13 +187,32 @@ "type": "github" } }, + "nix-colors": { + "inputs": { + "base16-schemes": "base16-schemes", + "nixpkgs-lib": "nixpkgs-lib" + }, + "locked": { + "lastModified": 1707825078, + "narHash": "sha256-hTfge2J2W+42SZ7VHXkf4kjU+qzFqPeC9k66jAUBMHk=", + "owner": "misterio77", + "repo": "nix-colors", + "rev": "b01f024090d2c4fc3152cd0cf12027a7b8453ba1", + "type": "github" + }, + "original": { + "owner": "misterio77", + "repo": "nix-colors", + "type": "github" + } + }, "nixpkgs": { "locked": { - "lastModified": 1713344939, - "narHash": "sha256-jpHkAt0sG2/J7ueKnG7VvLLkBYUMQbXQ2L8OBpVG53s=", + "lastModified": 1713564160, + "narHash": "sha256-YguPZpiejgzLEcO36/SZULjJQ55iWcjAmf3lYiyV1Fo=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "e402c3eb6d88384ca6c52ef1c53e61bdc9b84ddd", + "rev": "bc194f70731cc5d2b046a6c1b3b15f170f05999c", "type": "github" }, "original": { @@ -186,6 +221,21 @@ "type": "indirect" } }, + "nixpkgs-lib": { + "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-unstable": { "locked": { "lastModified": 1713248628, @@ -207,6 +257,7 @@ "hyprland": "hyprland", "hyprland-plugins": "hyprland-plugins", "hyprwm-contrib": "hyprwm-contrib", + "nix-colors": "nix-colors", "nixpkgs": "nixpkgs", "nixpkgs-unstable": "nixpkgs-unstable" } diff --git a/flake.nix b/flake.nix index d95658d..2574ab8 100644 --- a/flake.nix +++ b/flake.nix @@ -20,7 +20,7 @@ # Shameless plug: looking for a way to nixify your themes and make # everything match nicely? Try nix-colors! - # nix-colors.url = "github:misterio77/nix-colors"; + nix-colors.url = "github:misterio77/nix-colors"; hyprland = { url = "github:hyprwm/hyprland"; diff --git a/home-manager/home.nix b/home-manager/home.nix index 9c5e45e..d112f28 100644 --- a/home-manager/home.nix +++ b/home-manager/home.nix @@ -14,7 +14,7 @@ # outputs.homeManagerModules.example # Or modules exported from other flakes (such as nix-colors): - # inputs.nix-colors.homeManagerModules.default + inputs.nix-colors.homeManagerModules.default # You can also split up your configuration and import pieces of it here: # ./nvim.nix @@ -26,6 +26,8 @@ ./features/neovide.nix ./features/emacs.nix ]; + + colorScheme = inputs.nix-colors.colorSchemes.gruvbox-dark-medium; nixpkgs = { # You can add overlays here