switched from nixvim to nvf, including porting colour scheme over
This commit is contained in:
parent
82268d652a
commit
38ff4ee9a8
4 changed files with 2367 additions and 306 deletions
|
@ -4,9 +4,7 @@
|
|||
lib,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
}: {
|
||||
home.username = "blue";
|
||||
home.homeDirectory = "/home/blue";
|
||||
|
||||
|
@ -14,12 +12,10 @@
|
|||
./hyprland.nix
|
||||
./waybar.nix
|
||||
./swaync.nix
|
||||
# ./flatpak.nix
|
||||
# ./sober.nix
|
||||
./hyprlock.nix
|
||||
./zsh.nix
|
||||
./eza.nix
|
||||
./nixvim.nix
|
||||
./nvf.nix
|
||||
./nextcloud.nix
|
||||
./git.nix
|
||||
./stylix.nix
|
||||
|
@ -32,14 +28,14 @@
|
|||
services.gnome-keyring.enable = true; # used for protonmail-bridge and nextcloud-client
|
||||
|
||||
# Cursor configuration that I hope to one day understand, currently has a scaling issue but thats probably my fault
|
||||
# home.pointerCursor =
|
||||
# let
|
||||
# home.pointerCursor =
|
||||
# let
|
||||
# getFrom = url: hash: name: {
|
||||
# gtk.enable = true;
|
||||
# x11.enable = true;
|
||||
# name = name;
|
||||
# size = 24;
|
||||
# package =
|
||||
# package =
|
||||
# pkgs.runCommand "moveUp" {} ''
|
||||
# mkdir -p $out/share/icons
|
||||
# ln -s ${pkgs.fetchzip {
|
||||
|
@ -49,7 +45,7 @@
|
|||
# '';
|
||||
# };
|
||||
# in
|
||||
# getFrom
|
||||
# getFrom
|
||||
# "https://github.com/ful1e5/fuchsia-cursor/releases/download/v2.0.0/Fuchsia-Pop.tar.gz"
|
||||
# "sha256-BvVE9qupMjw7JRqFUj1J0a4ys6kc9fOLBPx2bGaapTk="
|
||||
# "Fuchsia-Pop";
|
||||
|
@ -122,6 +118,6 @@
|
|||
# ];
|
||||
# };
|
||||
# };
|
||||
|
||||
|
||||
services.blueman-applet.enable = true;
|
||||
}
|
||||
|
|
44
home-manager/nvf.nix
Normal file
44
home-manager/nvf.nix
Normal file
|
@ -0,0 +1,44 @@
|
|||
{config, ...}: {
|
||||
programs.nvf = {
|
||||
enable = true;
|
||||
settings = {
|
||||
vim = {
|
||||
theme = {
|
||||
enable = true;
|
||||
name = "base16";
|
||||
};
|
||||
viAlias = true;
|
||||
vimAlias = true;
|
||||
lsp = {
|
||||
enable = true;
|
||||
};
|
||||
languages = {
|
||||
rust.enable = true;
|
||||
nix.enable = true;
|
||||
markdown.enable = true;
|
||||
java.enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
# Pulls stylix base16 colours into nvf for use in the vim theme.
|
||||
# This works for colours generated from the wallpaper, colours set manually and colours pulled from a base16Scheme yaml file.
|
||||
programs.nvf.settings.vim.theme.base16-colors = {
|
||||
base00 = "${config.lib.stylix.colors.base00}";
|
||||
base01 = "${config.lib.stylix.colors.base01}";
|
||||
base02 = "${config.lib.stylix.colors.base02}";
|
||||
base03 = "${config.lib.stylix.colors.base03}";
|
||||
base04 = "${config.lib.stylix.colors.base04}";
|
||||
base05 = "${config.lib.stylix.colors.base05}";
|
||||
base06 = "${config.lib.stylix.colors.base06}";
|
||||
base07 = "${config.lib.stylix.colors.base07}";
|
||||
base08 = "${config.lib.stylix.colors.base08}";
|
||||
base09 = "${config.lib.stylix.colors.base09}";
|
||||
base0A = "${config.lib.stylix.colors.base0A}";
|
||||
base0B = "${config.lib.stylix.colors.base0B}";
|
||||
base0C = "${config.lib.stylix.colors.base0C}";
|
||||
base0D = "${config.lib.stylix.colors.base0D}";
|
||||
base0E = "${config.lib.stylix.colors.base0E}";
|
||||
base0F = "${config.lib.stylix.colors.base0F}";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue