From bf9e752ec2d8bba62d429d876b0fd3337e77b9ef Mon Sep 17 00:00:00 2001 From: iFargle Date: Wed, 14 Feb 2024 23:55:47 +0900 Subject: [PATCH] re-arrange and add sakura-night --- flake.nix | 4 ++-- home-manager/common/software/cli/nixvim.nix | 1 + stylix/{sakura => sakura-day}/default.nix | 0 .../home-manager/nixvim.nix | 0 stylix/{sakura => sakura-day}/sakura.yaml | 0 stylix/sakura-night/default.nix | 10 ++++++++++ stylix/sakura-night/home-manager/nixvim.nix | 3 +++ stylix/sakura-night/sakura-night.yaml | 18 ++++++++++++++++++ 8 files changed, 34 insertions(+), 2 deletions(-) rename stylix/{sakura => sakura-day}/default.nix (100%) rename stylix/{sakura => sakura-day}/home-manager/nixvim.nix (100%) rename stylix/{sakura => sakura-day}/sakura.yaml (100%) create mode 100644 stylix/sakura-night/default.nix create mode 100644 stylix/sakura-night/home-manager/nixvim.nix create mode 100644 stylix/sakura-night/sakura-night.yaml diff --git a/flake.nix b/flake.nix index 355b880d..928f2935 100644 --- a/flake.nix +++ b/flake.nix @@ -61,7 +61,7 @@ framework-server = libx.mkHost { hostname = "framework-server"; }; nuc-server = libx.mkHost { hostname = "nuc-server"; }; nixos-desktop = libx.mkHost { hostname = "nixos-desktop"; unfree = true; repo = "nixpkgs-unstable"; desktop = "hyprland"; theme = "tokyo-night"; }; - nixos-framework = libx.mkHost { hostname = "nixos-framework"; unfree = true; desktop = "hyprland"; theme = "sakura"; }; + nixos-framework = libx.mkHost { hostname = "nixos-framework"; unfree = true; desktop = "hyprland"; theme = "sakura-night"; }; backups-rpi4 = libx.mkHost { hostname = "backups-rpi4"; system = "aarch64-linux"; type = "small"; }; piaware-rpi4 = libx.mkHost { hostname = "piaware-rpi4"; system = "aarch64-linux"; type = "small"; }; quitman-rpi4 = libx.mkHost { hostname = "quitman-rpi4"; system = "aarch64-linux"; type = "small"; }; @@ -71,7 +71,7 @@ "albert@framework-server" = libx.mkHome { hostname = "framework-server"; }; "albert@nuc-server" = libx.mkHome { hostname = "nuc-server"; }; "albert@nixos-desktop" = libx.mkHome { hostname = "nixos-desktop"; desktop = "hyprland"; theme = "tokyo-night"; }; - "albert@nixos-framework" = libx.mkHome { hostname = "nixos-framework"; desktop = "hyprland"; theme = "sakura"; }; + "albert@nixos-framework" = libx.mkHome { hostname = "nixos-framework"; desktop = "hyprland"; theme = "sakura-night"; }; "albert@backups-rpi4" = libx.mkHome { hostname = "backups-rpi4"; system = "aarch64-linux"; type = "small"; }; "albert@piaware-rpi4" = libx.mkHome { hostname = "piaware-rpi4"; system = "aarch64-linux"; type = "small"; }; "albert@quitman-rpi4" = libx.mkHome { hostname = "quitman-rpi4"; system = "aarch64-linux"; type = "small"; }; diff --git a/home-manager/common/software/cli/nixvim.nix b/home-manager/common/software/cli/nixvim.nix index 0d56c926..f6a3317b 100644 --- a/home-manager/common/software/cli/nixvim.nix +++ b/home-manager/common/software/cli/nixvim.nix @@ -250,6 +250,7 @@ extraPlugins = with pkgs.vimPlugins; [ everforest onehalf + rose-pine ]; }; } diff --git a/stylix/sakura/default.nix b/stylix/sakura-day/default.nix similarity index 100% rename from stylix/sakura/default.nix rename to stylix/sakura-day/default.nix diff --git a/stylix/sakura/home-manager/nixvim.nix b/stylix/sakura-day/home-manager/nixvim.nix similarity index 100% rename from stylix/sakura/home-manager/nixvim.nix rename to stylix/sakura-day/home-manager/nixvim.nix diff --git a/stylix/sakura/sakura.yaml b/stylix/sakura-day/sakura.yaml similarity index 100% rename from stylix/sakura/sakura.yaml rename to stylix/sakura-day/sakura.yaml diff --git a/stylix/sakura-night/default.nix b/stylix/sakura-night/default.nix new file mode 100644 index 00000000..9ac4085a --- /dev/null +++ b/stylix/sakura-night/default.nix @@ -0,0 +1,10 @@ +{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 = ./sakura.yaml; + autoEnable = true; + }; + + +} \ No newline at end of file diff --git a/stylix/sakura-night/home-manager/nixvim.nix b/stylix/sakura-night/home-manager/nixvim.nix new file mode 100644 index 00000000..5fd35890 --- /dev/null +++ b/stylix/sakura-night/home-manager/nixvim.nix @@ -0,0 +1,3 @@ +{ lib, ... }: { + programs.nixvim.colorscheme = lib.mkForce "rose-pine"; +} \ No newline at end of file diff --git a/stylix/sakura-night/sakura-night.yaml b/stylix/sakura-night/sakura-night.yaml new file mode 100644 index 00000000..8d825331 --- /dev/null +++ b/stylix/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