chore: cleanup theming and get nvim colors working in tmux
This commit is contained in:
parent
655bdebfc5
commit
db123caede
7 changed files with 8 additions and 21 deletions
|
@ -10,19 +10,16 @@
|
||||||
args = {inherit self inputs;};
|
args = {inherit self inputs;};
|
||||||
mkSystem = hostname:
|
mkSystem = hostname:
|
||||||
nixpkgs.lib.nixosSystem {
|
nixpkgs.lib.nixosSystem {
|
||||||
specialArgs = args; modules = [ ./systems/${hostname}.nix
|
specialArgs = args;
|
||||||
|
modules = [
|
||||||
|
./systems/${hostname}.nix
|
||||||
|
|
||||||
# Add the home-manager user
|
# Add the home-manager user
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
{
|
{
|
||||||
home-manager = {
|
home-manager = {
|
||||||
# Don't instantiate the home-manager instance of nixpkgs
|
|
||||||
#useGlobalPkgs = true;
|
|
||||||
# Install user packages to /etc/profiles
|
|
||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
# Pass inputs to configurations
|
|
||||||
extraSpecialArgs = args;
|
extraSpecialArgs = args;
|
||||||
# Add the users
|
|
||||||
users.rafiq.imports = [
|
users.rafiq.imports = [
|
||||||
./users/rafiq.nix
|
./users/rafiq.nix
|
||||||
];
|
];
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{ inputs, pkgs, config, ... }: {
|
{ inputs, pkgs, config, ... }: {
|
||||||
imports = [ inputs.stylix.homeManagerModules.stylix ];
|
imports = [ inputs.stylix.nixosModules.stylix ];
|
||||||
stylix = {
|
stylix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-mocha.yaml";
|
base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-mocha.yaml";
|
|
@ -8,6 +8,7 @@
|
||||||
./modules/networking.nix # Common networking settings
|
./modules/networking.nix # Common networking settings
|
||||||
./modules/hyprland.nix # Hyprland compositor
|
./modules/hyprland.nix # Hyprland compositor
|
||||||
./modules/nvidia.nix # Nvidia settings
|
./modules/nvidia.nix # Nvidia settings
|
||||||
|
./modules/personalisation.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.hostName = "nemesis";
|
networking.hostName = "nemesis";
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
{ inputs, ... }: {
|
{ inputs, ... }: {
|
||||||
imports = [
|
imports = [
|
||||||
inputs.nixvim.homeManagerModules.nixvim
|
inputs.nixvim.homeManagerModules.nixvim
|
||||||
#./nixvim/colorscheme-catppuccin.nix
|
|
||||||
./nixvim/nvim-tree.nix # filetree
|
./nixvim/nvim-tree.nix # filetree
|
||||||
./nixvim/noice.nix # custom CMDLINE
|
./nixvim/noice.nix # custom CMDLINE
|
||||||
./nixvim/lualine.nix # custom statusline
|
./nixvim/lualine.nix # custom statusline
|
||||||
|
@ -12,16 +11,14 @@
|
||||||
viAlias = true;
|
viAlias = true;
|
||||||
vimAlias = true;
|
vimAlias = true;
|
||||||
vimdiffAlias = true;
|
vimdiffAlias = true;
|
||||||
extraConfigLua = "";
|
|
||||||
extraPlugins = [];
|
|
||||||
|
|
||||||
opts = {
|
opts = {
|
||||||
shiftwidth = 2;
|
shiftwidth = 2;
|
||||||
number = true;
|
number = true;
|
||||||
relativenumber = true;
|
relativenumber = true;
|
||||||
|
termguicolors = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
clipboard.providers.wl-copy.enable = true;
|
clipboard.providers.wl-copy.enable = true;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
{
|
|
||||||
programs.nixvim.colorschemes.catppuccin = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
flavour = "mocha";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -21,7 +21,8 @@
|
||||||
];
|
];
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
set -g default-terminal "tmux-256color"
|
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"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
{ pkgs, ... }: {
|
{ pkgs, ... }: {
|
||||||
imports = [
|
imports = [
|
||||||
./modules/personalisation.nix
|
|
||||||
./modules/sh.nix
|
./modules/sh.nix
|
||||||
./modules/de.nix
|
./modules/de.nix
|
||||||
./modules/utils.nix
|
./modules/utils.nix
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue