chore: cleanup theming and get nvim colors working in tmux

This commit is contained in:
Mohammad Rafiq 2025-03-07 20:50:46 +08:00
parent 655bdebfc5
commit db123caede
7 changed files with 8 additions and 21 deletions

View file

@ -10,19 +10,16 @@
args = {inherit self inputs;};
mkSystem = hostname:
nixpkgs.lib.nixosSystem {
specialArgs = args; modules = [ ./systems/${hostname}.nix
specialArgs = args;
modules = [
./systems/${hostname}.nix
# Add the home-manager user
home-manager.nixosModules.home-manager
{
home-manager = {
# Don't instantiate the home-manager instance of nixpkgs
#useGlobalPkgs = true;
# Install user packages to /etc/profiles
useUserPackages = true;
# Pass inputs to configurations
extraSpecialArgs = args;
# Add the users
users.rafiq.imports = [
./users/rafiq.nix
];

View file

@ -1,5 +1,5 @@
{ inputs, pkgs, config, ... }: {
imports = [ inputs.stylix.homeManagerModules.stylix ];
imports = [ inputs.stylix.nixosModules.stylix ];
stylix = {
enable = true;
base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-mocha.yaml";

View file

@ -8,6 +8,7 @@
./modules/networking.nix # Common networking settings
./modules/hyprland.nix # Hyprland compositor
./modules/nvidia.nix # Nvidia settings
./modules/personalisation.nix
];
networking.hostName = "nemesis";

View file

@ -1,7 +1,6 @@
{ inputs, ... }: {
imports = [
inputs.nixvim.homeManagerModules.nixvim
#./nixvim/colorscheme-catppuccin.nix
./nixvim/nvim-tree.nix # filetree
./nixvim/noice.nix # custom CMDLINE
./nixvim/lualine.nix # custom statusline
@ -12,16 +11,14 @@
viAlias = true;
vimAlias = true;
vimdiffAlias = true;
extraConfigLua = "";
extraPlugins = [];
opts = {
shiftwidth = 2;
number = true;
relativenumber = true;
termguicolors = true;
};
clipboard.providers.wl-copy.enable = true;
};
}

View file

@ -1,8 +0,0 @@
{
programs.nixvim.colorschemes.catppuccin = {
enable = true;
settings = {
flavour = "mocha";
};
};
}

View file

@ -21,7 +21,8 @@
];
extraConfig = ''
set -g default-terminal "tmux-256color"
set -ag terminal-overrides ",xterm-256color:RGB"
set -ag terminal-overrides ",tmux-256color:RGB"
set -as terminal-features ",tmux-256color:RGB"
'';
};
}

View file

@ -1,6 +1,5 @@
{ pkgs, ... }: {
imports = [
./modules/personalisation.nix
./modules/sh.nix
./modules/de.nix
./modules/utils.nix