From dbeb0acc1110b11274c90c74a1764980170a6fe3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Wed, 26 Jul 2023 08:55:50 +0200 Subject: [PATCH] feat(stylix): set base16 theme --- configs/stylix.nix | 4 ++-- flake.lock | 47 +++++++--------------------------------------- flake.nix | 2 ++ 3 files changed, 11 insertions(+), 42 deletions(-) diff --git a/configs/stylix.nix b/configs/stylix.nix index 43d05c1..2ae77ac 100644 --- a/configs/stylix.nix +++ b/configs/stylix.nix @@ -5,8 +5,8 @@ }: { # https://danth.github.io/stylix/tricks.html stylix.image = inputs.wallpapers.outPath + "/vaporwave/1432599578099.png"; - - stylix.polarity = "either"; + # stylix.polarity = "either"; + stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/synth-midnight-dark.yaml"; stylix.fonts = { serif = { diff --git a/flake.lock b/flake.lock index f52a640..a2b921e 100644 --- a/flake.lock +++ b/flake.lock @@ -166,27 +166,6 @@ "type": "github" } }, - "home-manager_2": { - "inputs": { - "nixpkgs": [ - "stylix", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1689134369, - "narHash": "sha256-0G9dutIvhS/WUr3Awcnqw71g8EVVvvkOhVDnDDbY4Fw=", - "owner": "nix-community", - "repo": "home-manager", - "rev": "e42fb59768f0305085abde0dd27ab5e0cc15420c", - "type": "github" - }, - "original": { - "owner": "nix-community", - "repo": "home-manager", - "type": "github" - } - }, "menstruation-backend": { "inputs": { "flake-utils": [ @@ -374,22 +353,6 @@ } }, "nixpkgs_2": { - "locked": { - "lastModified": 1689261696, - "narHash": "sha256-LzfUtFs9MQRvIoQ3MfgSuipBVMXslMPH/vZ+nM40LkA=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "df1eee2aa65052a18121ed4971081576b25d6b5c", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixpkgs-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs_3": { "locked": { "lastModified": 1659446231, "narHash": "sha256-hekabNdTdgR/iLsgce5TGWmfIDZ86qjPhxDg/8TlzhE=", @@ -585,8 +548,12 @@ "inputs": { "base16": "base16", "flake-compat": "flake-compat", - "home-manager": "home-manager_2", - "nixpkgs": "nixpkgs_2" + "home-manager": [ + "home-manager" + ], + "nixpkgs": [ + "nixpkgs" + ] }, "locked": { "lastModified": 1690028952, @@ -620,7 +587,7 @@ "telebots": { "inputs": { "flake-utils": "flake-utils_2", - "nixpkgs": "nixpkgs_3" + "nixpkgs": "nixpkgs_2" }, "locked": { "lastModified": 1677156381, diff --git a/flake.nix b/flake.nix index fd174f8..f93e507 100644 --- a/flake.nix +++ b/flake.nix @@ -43,6 +43,8 @@ scripts.inputs.flake-utils.follows = "flake-utils"; scripts.inputs.nixpkgs.follows = "nixpkgs"; scripts.inputs.rust-overlay.follows = "rust-overlay"; + stylix.inputs.nixpkgs.follows = "nixpkgs"; + stylix.inputs.home-manager.follows = "home-manager"; tinc-graph.inputs.flake-utils.follows = "flake-utils"; tinc-graph.inputs.nixpkgs.follows = "nixpkgs"; tinc-graph.inputs.rust-overlay.follows = "rust-overlay";