style all the things with stylix
This commit is contained in:
parent
02cfff6794
commit
684dbf81ab
2 changed files with 26 additions and 25 deletions
|
@ -16,6 +16,10 @@
|
||||||
url = "github:Mic92/sops-nix";
|
url = "github:Mic92/sops-nix";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
stylix = {
|
||||||
|
url = "github:danth/stylix";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = {
|
outputs = {
|
||||||
|
@ -59,6 +63,7 @@
|
||||||
modules = [
|
modules = [
|
||||||
inputs.nixvim.homeManagerModules.nixvim
|
inputs.nixvim.homeManagerModules.nixvim
|
||||||
inputs.sops-nix.homeManagerModules.sops
|
inputs.sops-nix.homeManagerModules.sops
|
||||||
|
inputs.stylix.homeManagerModules.stylix
|
||||||
./home.nix
|
./home.nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
46
home.nix
46
home.nix
|
@ -106,18 +106,6 @@
|
||||||
};
|
};
|
||||||
bat = {
|
bat = {
|
||||||
enable = true;
|
enable = true;
|
||||||
config.theme = "Catppuccin-mocha";
|
|
||||||
themes = {
|
|
||||||
Catppuccin-mocha = {
|
|
||||||
src = pkgs.fetchFromGitHub {
|
|
||||||
owner = "catppuccin";
|
|
||||||
repo = "bat";
|
|
||||||
rev = "main";
|
|
||||||
sha256 = "sha256-6WVKQErGdaqb++oaXnY3i6/GuH2FhTgK0v4TN4Y0Wbw=";
|
|
||||||
};
|
|
||||||
file = "Catppuccin-mocha.tmTheme";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
btop = {
|
btop = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -183,14 +171,15 @@
|
||||||
enableFishIntegration = true;
|
enableFishIntegration = true;
|
||||||
keys = [
|
keys = [
|
||||||
"id_ed25519"
|
"id_ed25519"
|
||||||
|
"id_rsa"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
kitty = {
|
kitty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
shellIntegration.enableFishIntegration = true;
|
shellIntegration.enableFishIntegration = true;
|
||||||
font = {
|
font = {
|
||||||
name = "Iosevka Nerd Font";
|
name = lib.mkForce "Iosevka Nerd Font";
|
||||||
size = 14;
|
size = lib.mkForce 14;
|
||||||
};
|
};
|
||||||
keybindings = {
|
keybindings = {
|
||||||
"ctrl+shift+g" = "show_last_command_output";
|
"ctrl+shift+g" = "show_last_command_output";
|
||||||
|
@ -210,7 +199,7 @@
|
||||||
"ctrl+shift+z" = "next_layout";
|
"ctrl+shift+z" = "next_layout";
|
||||||
};
|
};
|
||||||
settings = {
|
settings = {
|
||||||
background_opacity = "0.95";
|
background_opacity = lib.mkForce "0.95";
|
||||||
dynamic_background_opacity = true;
|
dynamic_background_opacity = true;
|
||||||
enabled_layouts = "tall:bias=50;full_size=1";
|
enabled_layouts = "tall:bias=50;full_size=1";
|
||||||
scrollback_lines = 10000;
|
scrollback_lines = 10000;
|
||||||
|
@ -222,7 +211,7 @@
|
||||||
tab_powerline_style = "round";
|
tab_powerline_style = "round";
|
||||||
tab_title_template = "{title}{' :{}:'.format(num_windows) if num_windows > 1 else ''}";
|
tab_title_template = "{title}{' :{}:'.format(num_windows) if num_windows > 1 else ''}";
|
||||||
};
|
};
|
||||||
theme = "Catppuccin-Mocha";
|
# theme = "Catppuccin-Mocha";
|
||||||
};
|
};
|
||||||
lazygit = {
|
lazygit = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -241,15 +230,15 @@
|
||||||
vimAlias = true;
|
vimAlias = true;
|
||||||
viAlias = true;
|
viAlias = true;
|
||||||
clipboard.providers.wl-copy.enable = true;
|
clipboard.providers.wl-copy.enable = true;
|
||||||
colorschemes = {
|
# colorschemes = {
|
||||||
catppuccin = {
|
# catppuccin = {
|
||||||
enable = true;
|
# enable = true;
|
||||||
settings = {
|
# settings = {
|
||||||
flavour = "mocha";
|
# flavour = "mocha";
|
||||||
show_end_of_buffer = true;
|
# show_end_of_buffer = true;
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
globals.mapleader = " ";
|
globals.mapleader = " ";
|
||||||
globals.maplocalleader = " ";
|
globals.maplocalleader = " ";
|
||||||
keymaps = [
|
keymaps = [
|
||||||
|
@ -432,6 +421,13 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
stylix = {
|
||||||
|
image = /home/muhh/Sync/Backgrounds/wald.jpg;
|
||||||
|
polarity = "dark";
|
||||||
|
# base16Scheme = "${pkgs.base16-schemes}/share/themes/rose-pine-moon.yaml";
|
||||||
|
base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-mocha.yaml";
|
||||||
|
};
|
||||||
|
|
||||||
wayland.windowManager = {
|
wayland.windowManager = {
|
||||||
sway = {
|
sway = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Reference in a new issue