diff options
author | Silas Schöffel <sils@sils.li> | 2024-04-05 01:15:43 +0200 |
---|---|---|
committer | Silas Schöffel <sils@sils.li> | 2024-04-05 01:15:43 +0200 |
commit | 0fdbf0ff9053ff754a94b26f3401e29c14ad1bcb (patch) | |
tree | 9cb1cc020e24bcfbd975c6f9f8b89089ac2b8f40 | |
parent | swaylock: remove background image (diff) | |
download | nix-config-0fdbf0ff9053ff754a94b26f3401e29c14ad1bcb.tar.gz nix-config-0fdbf0ff9053ff754a94b26f3401e29c14ad1bcb.zip |
theming: change theme to tokyo-night-dark
-rw-r--r-- | flake.lock | 17 | ||||
-rw-r--r-- | flake.nix | 9 | ||||
-rw-r--r-- | flake/nixosConfigurations/default.nix | 1 | ||||
-rw-r--r-- | modules/nixos/sils/theming.nix | 2 |
4 files changed, 29 insertions, 0 deletions
diff --git a/flake.lock b/flake.lock index 015ef75..4067a39 100644 --- a/flake.lock +++ b/flake.lock @@ -160,6 +160,22 @@ "type": "github" } }, + "base16-tokyo-night-scheme": { + "flake": false, + "locked": { + "lastModified": 1633715041, + "narHash": "sha256-GNKk+i5p8Nn8gwY7/Zlv9WwDLvD86ZKxdCUUUQu661Y=", + "ref": "refs/heads/main", + "rev": "b91b71f9f86199ac0f865524d22d6a45548c8343", + "revCount": 6, + "type": "git", + "url": "https://git.michaelball.name/gid/base16-tokyo-night-scheme.git" + }, + "original": { + "type": "git", + "url": "https://git.michaelball.name/gid/base16-tokyo-night-scheme.git" + } + }, "base16-vim": { "flake": false, "locked": { @@ -672,6 +688,7 @@ "root": { "inputs": { "agenix": "agenix", + "base16-tokyo-night-scheme": "base16-tokyo-night-scheme", "crane": "crane", "flake-compat": "flake-compat", "flake-parts": "flake-parts", diff --git a/flake.nix b/flake.nix index a30b7fb..f4ca43e 100644 --- a/flake.nix +++ b/flake.nix @@ -87,6 +87,8 @@ rust-overlay.follows = "rust-overlay"; }; }; + + # Theming stylix = { url = "github:danth/stylix"; inputs = { @@ -95,6 +97,11 @@ flake-compat.follows = "flake-compat"; }; }; + + base16-tokyo-night-scheme = { + url = "git+https://git.michaelball.name/gid/base16-tokyo-night-scheme.git"; + flake = false; + }; systems = { url = "git+https://codeberg.org/sils/systems"; # specify systems to evaluate }; @@ -154,6 +161,7 @@ #}}} outputs = { self, + base16-tokyo-night-scheme, nixpkgs, home-manager, prismlauncher, @@ -208,6 +216,7 @@ nixosConfigurations = import ./flake/nixosConfigurations { inherit self + base16-tokyo-night-scheme nixpkgs home-manager prismlauncher diff --git a/flake/nixosConfigurations/default.nix b/flake/nixosConfigurations/default.nix index 8e382c2..3041399 100644 --- a/flake/nixosConfigurations/default.nix +++ b/flake/nixosConfigurations/default.nix @@ -1,5 +1,6 @@ { self, + base16-tokyo-night-scheme, nixpkgs, home-manager, prismlauncher, diff --git a/modules/nixos/sils/theming.nix b/modules/nixos/sils/theming.nix index 4ddaa62..5e7d197 100644 --- a/modules/nixos/sils/theming.nix +++ b/modules/nixos/sils/theming.nix @@ -1,6 +1,7 @@ { config, lib, + base16-tokyo-night-scheme, ... }: let cfg = config.sils.theming; @@ -8,6 +9,7 @@ in { options.sils.theming.enable = lib.mkEnableOption "theming"; config = lib.mkIf cfg.enable { stylix = { + base16Scheme = "${base16-tokyo-night-scheme}/tokyo-night-dark.yaml"; image = ../../../files/wallpaper.jpg; polarity = "dark"; }; |