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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -1,3 +1,4 @@
{ lib, ... }: {
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
stylix = {
image = /etc/nixos/git/docs/icons/nixos/white.png;

View file

@ -1,3 +1,4 @@
{ 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, ... }: {
programs.nixvim.colorscheme = lib.mkForce "tokyonight-day";
stylix.targets.nixvim.enable = false;
}

View file

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