summary refs log tree commit diff stats
path: root/modules
diff options
context:
space:
mode:
authorSilas Schöffel <sils@sils.li>2024-10-29 21:58:59 +0100
committerSilas Schöffel <sils@sils.li>2024-10-29 21:58:59 +0100
commit0008fb79b9faac6e1f96379241b6556f02866143 (patch)
tree4afd06174b46c413a5146996b9e361f6a58436e9 /modules
parenthyprland: remove neo keyboard layout (diff)
downloadnix-config-0008fb79b9faac6e1f96379241b6556f02866143.tar.gz
nix-config-0008fb79b9faac6e1f96379241b6556f02866143.zip
use local theme file
Diffstat (limited to 'modules')
-rw-r--r--modules/nixos/sils/default.nix2
-rw-r--r--modules/nixos/sils/theming/default.nix (renamed from modules/nixos/sils/theming.nix)6
-rw-r--r--modules/nixos/sils/theming/tokyo-night-dark.yaml18
3 files changed, 22 insertions, 4 deletions
diff --git a/modules/nixos/sils/default.nix b/modules/nixos/sils/default.nix
index 922d706..65d2a19 100644
--- a/modules/nixos/sils/default.nix
+++ b/modules/nixos/sils/default.nix
@@ -15,6 +15,6 @@
     ./roles.nix
     ./sudo.nix
     ./sway.nix
-    ./theming.nix
+    ./theming
   ];
 }
diff --git a/modules/nixos/sils/theming.nix b/modules/nixos/sils/theming/default.nix
index 5e7d197..e8cf7bf 100644
--- a/modules/nixos/sils/theming.nix
+++ b/modules/nixos/sils/theming/default.nix
@@ -1,7 +1,6 @@
 {
   config,
   lib,
-  base16-tokyo-night-scheme,
   ...
 }: let
   cfg = config.sils.theming;
@@ -9,8 +8,9 @@ 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;
+      enable = true;
+      base16Scheme = ./tokyo-night-dark.yaml;
+      image = ../../../../files/wallpaper.jpg;
       polarity = "dark";
     };
   };
diff --git a/modules/nixos/sils/theming/tokyo-night-dark.yaml b/modules/nixos/sils/theming/tokyo-night-dark.yaml
new file mode 100644
index 0000000..ec29944
--- /dev/null
+++ b/modules/nixos/sils/theming/tokyo-night-dark.yaml
@@ -0,0 +1,18 @@
+scheme: "Tokyo Night Dark"
+author: "Michaël Ball"
+base00: "1A1B26"
+base01: "16161E"
+base02: "2F3549"
+base03: "444B6A"
+base04: "787C99"
+base05: "A9B1D6"
+base06: "CBCCD1"
+base07: "D5D6DB"
+base08: "C0CAF5"
+base09: "A9B1D6"
+base0A: "0DB9D7"
+base0B: "9ECE6A"
+base0C: "B4F9F8"
+base0D: "2AC3DE"
+base0E: "BB9AF7"
+base0F: "F7768E"