nixvim time!

This commit is contained in:
vali 2024-05-21 22:30:34 +02:00
commit dee7f495d1
10 changed files with 320 additions and 30 deletions

View file

@ -0,0 +1,14 @@
{pkgs, config, lib, ...}:
with lib;
let
cfg = config.modules.editors.nixvim;
inherit (inputs.nixvim.packges.${pkgs.system}) nixvim;
in {
options.modules.editors.nivim.enable = mkEnableOption "nixvim";
config = mkIf cfg.enable {
programs.nixvim = {
enable = true;
};
};
}

View file

@ -66,7 +66,7 @@ in {
};
cursor = {
style = "beam";
blink = "no";
blink = "true";
};
mouse = {
hide-when-typing = "yes";

View file

@ -14,11 +14,17 @@ in {
programs.schizofox = {
enable = true;
theme = {
# colors = {
# background-darker = "181825";
# background = "1e1e2e";
# foreground = "cdd6f4";
# };
colors = {
background-darker = "181825";
background = "1e1e2e";
foreground = "cdd6f4";
background-darker = "1d2021";
background = "282828";
foreground = "ebdbb2";
};
font = "Lexend";
extraUserChrome = ''
body {

View file

@ -13,7 +13,7 @@ in {
programs.spicetify = {
enable = true;
spotifyPackage = pkgs.spotify;
theme = spicePkgs.themes.catppuccin;
theme = spicePkgs.themes.Onepunch;
colorScheme = "mocha";
enabledExtensions = with spicePkgs.extensions; [
shuffle

View file

@ -12,7 +12,8 @@ in {
polarity = "dark";
image = ../../assets/wallpapers/mafu_trad_wall.png;
base16Scheme =
"${pkgs.base16-schemes}/share/themes/catppuccin-mocha.yaml";
#"${pkgs.base16-schemes}/share/themes/catppuccin-mocha.yaml";
"${pkgs.base16-schemes}/share/themes/gruvbox-dark-pale.yaml";
autoEnable = true;
targets = {
btop.enable = true;
@ -73,7 +74,8 @@ in {
polarity = "dark";
targets.plymouth.enable = false;
base16Scheme =
"${pkgs.base16-schemes}/share/themes/catppuccin-mocha.yaml";
#"${pkgs.base16-schemes}/share/themes/catppuccin-mocha.yaml";
"${pkgs.base16-schemes}/share/themes/gruvbox-dark-pale.yaml";
};
};
}

View file

@ -6,7 +6,7 @@ let
inherit (inputs.hyprland.packages.${pkgs.system}) hyprland;
inherit (inputs.anyrun.packages.${pkgs.system}) anyrun;
inherit (inputs.nixpkgs-wayland.packages.${pkgs.system})
wl-clipboard swww wlsunset;
foot wl-clipboard swww wlsunset;
inherit (inputs.waybar.packages.${pkgs.system}) waybar;
inherit (inputs.split-monitor-workspaces.packages.${pkgs.system})
split-monitor-workspaces;
@ -148,7 +148,7 @@ in {
misc = {
enable_swallow = true;
swallow_regex = "kitty";
swallow_regex = "foot";
focus_on_activate = true;
vrr = 1;
vfr = true;
@ -172,7 +172,7 @@ in {
];
# Keybinds
bind = [
"$mainMod, RETURN, exec, ${pkgs.kitty}/bin/kitty -d ~"
"$mainMod, RETURN, exec, ${foot}/bin/foot -D ~"
"$mainMod, Q, killactive"
"$mainMod, F, fullscreen, 0"
"$mainMod, D, exec, ${pkgs.procps}/bin/pkill anyrun || ${anyrun}/bin/anyrun"
@ -263,7 +263,8 @@ in {
# "${waybar}/bin/waybar"
# run persistent special workspace windows
"[workspace special:nixos; silent;tile] ${pkgs.bash}/bin/bash cd ~/repos/nichts && emacsclient -c"
"[workspace special:nixos; silent;tile] ${foot}/bin/foot -D ~/repos/nichts nvim"
"[workspace special:keepassxc; silent;tile] ${pkgs.keepassxc}/bin/keepassxc"
"${swww}/bin/swww-daemon"
@ -275,9 +276,9 @@ in {
"${pkgs.procps}/bin/pkill btop"
"${pkgs.procps}/bin/pkill pavucontrol"
# and run it all again
"[workspace special:btop;silent;tile] ${pkgs.kitty}/bin/kitty -e ${pkgs.btop}/bin/btop"
"[workspace special:btop;silent;tile] ${foot}/bin/foot ${pkgs.btop}/bin/btop"
# "[workspace special:pipewire silent;tile] ${pkgs.helvum}/bin/helvum"
"[workspace special:pipewire silent;tile] ${pkgs.helvum}/bin/helvum"
"[workspace special:pipewire;silent;tile] ${pkgs.pavucontrol}/bin/pavucontrol"
# "${pkgs.networkmanagerapplet}/bin/nm-applet --indicator"
];
@ -291,7 +292,7 @@ in {
};
};
};
environment.systemPackages = with pkgs; [ mako libnotify ];
environment.systemPackages = with pkgs; [ libnotify ];
};
}