diff --git a/stylix/common/default.nix b/stylix/common/default.nix new file mode 100644 index 00000000..5f832d53 --- /dev/null +++ b/stylix/common/default.nix @@ -0,0 +1,3 @@ +{ lib, ... }: { + stylix.targets.tmux.enable = lib.mkForce false; +} diff --git a/stylix/default.nix b/stylix/default.nix new file mode 100644 index 00000000..cf585dd7 --- /dev/null +++ b/stylix/default.nix @@ -0,0 +1,6 @@ +{ theme, ... }: { + imports = [ + ./themes/${theme} + ./common + ]; +} diff --git a/stylix/themes/green/default.nix b/stylix/themes/green/default.nix new file mode 100644 index 00000000..4db3b6a8 --- /dev/null +++ b/stylix/themes/green/default.nix @@ -0,0 +1,9 @@ +{ ... }: { + # Themes https://github.com/tinted-theming/base16-schemes + stylix = { + image = /etc/nixos/git/docs/icons/nixos/white.png; + polarity = "dark"; + base16Scheme = ./everforest-dark-hard.yaml; + autoEnable = true; + }; +} diff --git a/stylix/themes/green/everforest-dark-hard.yaml b/stylix/themes/green/everforest-dark-hard.yaml new file mode 100644 index 00000000..a80bc545 --- /dev/null +++ b/stylix/themes/green/everforest-dark-hard.yaml @@ -0,0 +1,18 @@ +scheme: "Everforest Dark Hard" +author: "Oskar Liew (https://github.com/OskarLiew)" +base00: "272e33" # bg0, Default background +base01: "2e383c" # bg1, Lighter background +base02: "414b50" # bg3, Selection background +base03: "859289" # grey1, Comments +base04: "9da9a0" # grey2, Dark foreground +base05: "d3c6aa" # fg, Default foreground +base06: "e4e1cd" # bg3, Light foreground +base07: "fdf6e3" # bg0, Light background +base08: "7fbbb3" # blue +base09: "d699b6" # purple +base0A: "dbbc7f" # yellow +base0B: "83c092" # aqua +base0C: "e69875" # orange +base0D: "a7c080" # green +base0E: "e67e80" # red +base0F: "4C3743" # bg_visual \ No newline at end of file diff --git a/stylix/themes/green/home-manager/nixvim.nix b/stylix/themes/green/home-manager/nixvim.nix new file mode 100644 index 00000000..8b4c069c --- /dev/null +++ b/stylix/themes/green/home-manager/nixvim.nix @@ -0,0 +1,4 @@ +{ lib, ... }: { + programs.nixvim.colorscheme = lib.mkForce "everforest"; + stylix.targets.nixvim.enable = false; +} diff --git a/stylix/themes/gruvbox/default.nix b/stylix/themes/gruvbox/default.nix new file mode 100644 index 00000000..c6818fa4 --- /dev/null +++ b/stylix/themes/gruvbox/default.nix @@ -0,0 +1,9 @@ +{lib, inputs, pkgs, gpu, system, theme, ...}: { + # Themes https://github.com/tinted-theming/base16-schemes + stylix = { + image = /etc/nixos/git/docs/icons/nixos/white.png; + polarity = "dark"; + base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml"; + autoEnable = true; + }; +} \ No newline at end of file diff --git a/stylix/themes/gruvbox/home-manager/nixvim.nix b/stylix/themes/gruvbox/home-manager/nixvim.nix new file mode 100644 index 00000000..f62fe493 --- /dev/null +++ b/stylix/themes/gruvbox/home-manager/nixvim.nix @@ -0,0 +1,4 @@ +{ lib, ... }: { + programs.nixvim.colorscheme = lib.mkForce "gruvbox"; + stylix.targets.nixvim.enable = false; +} diff --git a/stylix/themes/sakura-day/default.nix b/stylix/themes/sakura-day/default.nix new file mode 100644 index 00000000..d992927a --- /dev/null +++ b/stylix/themes/sakura-day/default.nix @@ -0,0 +1,9 @@ +{ ... }: { + # Themes https://github.com/tinted-theming/base16-schemes + stylix = { + # Placeholder as it's required for some reason + image = /etc/nixos/git/docs/icons/nixos/white.png; + base16Scheme = ./sakura.yaml; + autoEnable = true; + }; +} diff --git a/stylix/themes/sakura-day/home-manager/nixvim.nix b/stylix/themes/sakura-day/home-manager/nixvim.nix new file mode 100644 index 00000000..aebe2a23 --- /dev/null +++ b/stylix/themes/sakura-day/home-manager/nixvim.nix @@ -0,0 +1,4 @@ +{ lib, ... }: { + programs.nixvim.colorscheme = lib.mkForce "rose-pine-dawn"; + stylix.targets.nixvim.enable = false; +} diff --git a/stylix/themes/sakura-day/sakura.yaml b/stylix/themes/sakura-day/sakura.yaml new file mode 100644 index 00000000..d406739b --- /dev/null +++ b/stylix/themes/sakura-day/sakura.yaml @@ -0,0 +1,19 @@ +scheme: "Cupcake" +author: "Chris Kempson (http://chriskempson.com)" +variant: "light" +base00: "fbf1f2" +base01: "f2f1f4" +base02: "d8d5dd" +base03: "bfb9c6" +base04: "a59daf" +base05: "8b8198" +base06: "72677E" +base07: "585062" +base08: "D57E85" +base09: "EBB790" +base0A: "DCB16C" +base0B: "A3B367" +base0C: "69A9A7" +base0D: "7297B9" +base0E: "BB99B4" +base0F: "BAA58C" \ No newline at end of file diff --git a/stylix/themes/sakura-night/default.nix b/stylix/themes/sakura-night/default.nix new file mode 100644 index 00000000..e68044ea --- /dev/null +++ b/stylix/themes/sakura-night/default.nix @@ -0,0 +1,10 @@ + {... }: { + # Themes https://github.com/tinted-theming/base16-schemes + stylix = { + # Placeholder as it's required for some reason + image = /etc/nixos/git/docs/icons/nixos/white.png; + base16Scheme = ./sakura-night.yaml; + polarity = "dark"; + autoEnable = true; + }; +} diff --git a/stylix/themes/sakura-night/home-manager/nixvim.nix b/stylix/themes/sakura-night/home-manager/nixvim.nix new file mode 100644 index 00000000..37245b1c --- /dev/null +++ b/stylix/themes/sakura-night/home-manager/nixvim.nix @@ -0,0 +1,4 @@ +{ lib, ... }: { + programs.nixvim.colorscheme = lib.mkForce "rose-pine-moon"; + stylix.targets.nixvim.enable = false; +} diff --git a/stylix/themes/sakura-night/sakura-night.yaml b/stylix/themes/sakura-night/sakura-night.yaml new file mode 100644 index 00000000..8d825331 --- /dev/null +++ b/stylix/themes/sakura-night/sakura-night.yaml @@ -0,0 +1,18 @@ +scheme: "Rosé Pine Moon" +variant: "dark" +base00: "232136" +base01: "2a273f" +base02: "393552" +base03: "6e6a86" +base04: "908caa" +base05: "e0def4" +base06: "e0def4" +base07: "56526e" +base08: "eb6f92" +base09: "f6c177" +base0A: "ea9a97" +base0B: "3e8fb0" +base0C: "9ccfd8" +base0D: "c4a7e7" +base0E: "f6c177" +base0F: "56526e" \ No newline at end of file diff --git a/stylix/themes/stylix/default.nix b/stylix/themes/stylix/default.nix new file mode 100644 index 00000000..de977e00 --- /dev/null +++ b/stylix/themes/stylix/default.nix @@ -0,0 +1,10 @@ +{ pkgs, ... }: { + # Themes https://github.com/tinted-theming/base16-schemes + stylix = { + image = /etc/nixos/git/docs/icons/nixos/white.png; + polarity = "dark"; + # base16Scheme = ./sakura-night.yaml; + base16Scheme = "${pkgs.base16-schemes}/share/themes/atelier-cave.yaml"; + autoEnable = true; + }; +} diff --git a/stylix/themes/stylix/home-manager/nixvim.nix b/stylix/themes/stylix/home-manager/nixvim.nix new file mode 100644 index 00000000..540bc0e4 --- /dev/null +++ b/stylix/themes/stylix/home-manager/nixvim.nix @@ -0,0 +1,4 @@ +{ lib, ... }: { + programs.nixvim.colorscheme = lib.mkForce "sonokai"; + stylix.targets.nixvim.enable = false; +} diff --git a/stylix/themes/stylix/sakura-night.yaml b/stylix/themes/stylix/sakura-night.yaml new file mode 100644 index 00000000..a4ff1ca5 --- /dev/null +++ b/stylix/themes/stylix/sakura-night.yaml @@ -0,0 +1,18 @@ +scheme: "Rosé Pine Moon" +variant: "dark" +base00: "232136" +base01: "2a273f" +base02: "393552" +base03: "6e6a86" +base04: "908caa" +base05: "e0def4" +base06: "e0def4" +base07: "56526e" +base08: "eb6f92" +base09: "f6c177" +base0A: "ea9a97" +base0B: "3e8fb0" +base0C: "9ccfd8" +base0D: "c4a7e7" +base0E: "f6c177" +base0F: "56526e" diff --git a/stylix/themes/tokyo-day/default.nix b/stylix/themes/tokyo-day/default.nix new file mode 100644 index 00000000..0d2d4982 --- /dev/null +++ b/stylix/themes/tokyo-day/default.nix @@ -0,0 +1,8 @@ +{lib, inputs, pkgs, gpu, system, theme, ...}: { + # Themes https://github.com/tinted-theming/base16-schemes + stylix = { + image = /etc/nixos/git/docs/icons/nixos/white.png; + base16Scheme = "${pkgs.base16-schemes}/share/themes/tokyo-night-terminal-light.yaml"; + autoEnable = true; + }; +} \ No newline at end of file diff --git a/stylix/themes/tokyo-day/home-manager/nixvim.nix b/stylix/themes/tokyo-day/home-manager/nixvim.nix new file mode 100644 index 00000000..9287c8bf --- /dev/null +++ b/stylix/themes/tokyo-day/home-manager/nixvim.nix @@ -0,0 +1,4 @@ +{ lib, ... }: { + programs.nixvim.colorscheme = lib.mkForce "tokyonight-day"; + stylix.targets.nixvim.enable = false; +} diff --git a/stylix/themes/tokyo-night/default.nix b/stylix/themes/tokyo-night/default.nix new file mode 100644 index 00000000..b79d8d3b --- /dev/null +++ b/stylix/themes/tokyo-night/default.nix @@ -0,0 +1,9 @@ +{lib, inputs, pkgs, gpu, system, theme, ...}: { + # Themes https://github.com/tinted-theming/base16-schemes + stylix = { + image = /etc/nixos/git/docs/icons/nixos/white.png; + polarity = "dark"; + base16Scheme = "${pkgs.base16-schemes}/share/themes/tokyo-night-terminal-dark.yaml"; + autoEnable = true; + }; +} \ No newline at end of file diff --git a/stylix/themes/tokyo-night/home-manager/nixvim.nix b/stylix/themes/tokyo-night/home-manager/nixvim.nix new file mode 100644 index 00000000..a9fa3b3a --- /dev/null +++ b/stylix/themes/tokyo-night/home-manager/nixvim.nix @@ -0,0 +1,4 @@ +{ lib, ... }: { + programs.nixvim.colorscheme = lib.mkForce "tokyonight-night"; + stylix.targets.nixvim.enable = false; +}