Disable autoEnablement of nixvim target for stylix

This commit is contained in:
albert 2024-02-16 16:42:55 +09:00
parent 739cdaebe1
commit d6299447ac
No known key found for this signature in database
GPG key ID: 64F6C4EB46C4543A
11 changed files with 262 additions and 258 deletions

View file

@ -19,9 +19,8 @@
number = true; number = true;
shiftwidth = 2; shiftwidth = 2;
breakindent = true; breakindent = true;
colorcolumn = "100"; # colorcolumn = "100";
showmode = false; showmode = false;
termguicolors = true;
}; };
keymaps = let keymaps = let
@ -51,7 +50,6 @@
# Center cursor when jumping foward or back # Center cursor when jumping foward or back
(nmap "<C-o>" "<C-o>zz") (nmap "<C-o>" "<C-o>zz")
(nmap "<C-i>" "<C-i>zz") (nmap "<C-i>" "<C-i>zz")
# Insert Mode # Insert Mode
# Normal Mode # Normal Mode
@ -123,6 +121,8 @@
fugitive.enable = true; fugitive.enable = true;
# Alerts / CodActions # Alerts / CodActions
trouble.enable = true; trouble.enable = true;
# Indentation guides
indent-blankline.enable = true;
# Popup to show shortcuts # Popup to show shortcuts
which-key = { which-key = {

View file

@ -1,4 +1,4 @@
{ config, pkgs, lib, stylix, ... }: { config, lib, ... }:
let let
orangeColor = "#${config.lib.stylix.colors.base0C}"; orangeColor = "#${config.lib.stylix.colors.base0C}";
yellowColor = "#${config.lib.stylix.colors.base0A}"; yellowColor = "#${config.lib.stylix.colors.base0A}";

View file

@ -1,4 +1,4 @@
{ pkgs, sops-nix, deploy-rs, system, ... }: { { pkgs, sops-nix, ... }: {
default = pkgs.mkShell { default = pkgs.mkShell {
NIX_CONFIG = "experimental-features = nix-command flakes"; NIX_CONFIG = "experimental-features = nix-command flakes";
# imports all files ending in .asc/.gpg # imports all files ending in .asc/.gpg
@ -9,14 +9,11 @@
nativeBuildInputs = [ nativeBuildInputs = [
pkgs.nix pkgs.nix
# pkgs.home-manager
pkgs.git pkgs.git
pkgs.vim pkgs.vim
# pkgs.alejandra pkgs.nixfmt
# pkgs.nixfmt
pkgs.ssh-to-pgp pkgs.ssh-to-pgp
(pkgs.callPackage sops-nix {}).sops-import-keys-hook (pkgs.callPackage sops-nix {}).sops-import-keys-hook
# deploy-rs.packages.${system}.deploy-rs
]; ];
}; };
} }

View file

@ -1,3 +1,4 @@
{ lib, ... }: { { lib, ... }: {
programs.nixvim.colorscheme = lib.mkForce "everforest"; programs.nixvim.colorscheme = lib.mkForce "everforest";
stylix.targets.nixvim.enable = false;
} }

View file

@ -1,3 +1,4 @@
{ lib, ... }: { { lib, ... }: {
programs.nixvim.colorscheme = lib.mkForce "gruvbox"; programs.nixvim.colorscheme = lib.mkForce "gruvbox";
stylix.targets.nixvim.enable = false;
} }

View file

@ -1,3 +1,4 @@
{ lib, ... }: { { lib, ... }: {
programs.nixvim.colorscheme = lib.mkForce "rose-pine-dawn"; programs.nixvim.colorscheme = lib.mkForce "rose-pine-dawn";
stylix.targets.nixvim.enable = false;
} }

View file

@ -1,3 +1,4 @@
{ lib, ... }: { { lib, ... }: {
programs.nixvim.colorscheme = lib.mkForce "rose-pine-moon"; programs.nixvim.colorscheme = lib.mkForce "rose-pine-moon";
stylix.targets.nixvim.enable = false;
} }

View file

@ -1,4 +1,4 @@
{lib, inputs, pkgs, gpu, system, theme, ...}: { {pkgs, ...}: {
# Themes https://github.com/tinted-theming/base16-schemes # Themes https://github.com/tinted-theming/base16-schemes
stylix = { stylix = {
image = /etc/nixos/git/docs/icons/nixos/white.png; image = /etc/nixos/git/docs/icons/nixos/white.png;

View file

@ -1,3 +1,4 @@
{ lib, ... }: { { lib, ... }: {
programs.nixvim.colorscheme = lib.mkForce "tokyonight-storm"; programs.nixvim.colorscheme = lib.mkForce "tokyonight";
stylix.targets.nixvim.enable = false;
} }

View file

@ -1,3 +1,4 @@
{ lib, ... }: { { lib, ... }: {
programs.nixvim.colorscheme = lib.mkForce "tokyonight-day"; programs.nixvim.colorscheme = lib.mkForce "tokyonight-day";
stylix.targets.nixvim.enable = false;
} }

View file

@ -1,3 +1,4 @@
{ lib, ... }: { { lib, ... }: {
programs.nixvim.colorscheme = lib.mkForce "tokyonight-night"; programs.nixvim.colorscheme = lib.mkForce "tokyonight-night";
stylix.targets.nixvim.enable = false;
} }