theming
This commit is contained in:
parent
9d30dd8f44
commit
838a2d2111
82
common.nix
82
common.nix
@ -341,7 +341,7 @@ in
|
||||
home.sessionVariables = {
|
||||
PAGER = "less -RFX --tabs=4";
|
||||
MANPAGER = "nvim +'setl filetype=terminal' +'Man!'";
|
||||
QT_QPA_PLATFORMTHEME = "qt5ct";
|
||||
#QT_QPA_PLATFORMTHEME = "qt5ct";
|
||||
};
|
||||
|
||||
xdg.mimeApps = {
|
||||
@ -476,12 +476,37 @@ in
|
||||
nixfmt-rfc-style # official nix formatter
|
||||
ripgrep # some nice grep alternative
|
||||
netcat-openbsd # socket debugging
|
||||
libsForQt5.qtstyleplugin-kvantum # qt theme
|
||||
libsForQt5.qt5ct # qt theme
|
||||
#libsForQt5.qtstyleplugin-kvantum # qt theme
|
||||
#libsForQt5.qt5ct # qt theme
|
||||
virtiofsd # virtiofs drivers
|
||||
filezilla # FTP client
|
||||
];
|
||||
|
||||
catppuccin = {
|
||||
accent = "blue";
|
||||
enable = true;
|
||||
zed.enable = false;
|
||||
cursors = {
|
||||
enable = true;
|
||||
accent = "dark";
|
||||
};
|
||||
};
|
||||
|
||||
fonts.fontconfig = {
|
||||
enable = true;
|
||||
defaultFonts = {
|
||||
monospace = [ "Fira Code" ];
|
||||
sansSerif = [ "Fira Sans" ];
|
||||
};
|
||||
};
|
||||
|
||||
home.pointerCursor = {
|
||||
gtk.enable = true;
|
||||
hyprcursor.enable = true;
|
||||
x11.enable = true;
|
||||
size = 16;
|
||||
};
|
||||
|
||||
programs = {
|
||||
zsh = {
|
||||
enable = true;
|
||||
@ -498,7 +523,7 @@ in
|
||||
bash.enable = true;
|
||||
kitty = {
|
||||
enable = true;
|
||||
themeFile = "Catppuccin-Mocha";
|
||||
#themeFile = "Catppuccin-Mocha";
|
||||
font = {
|
||||
name = "Fira Code";
|
||||
package = pkgs.fira-code;
|
||||
@ -605,7 +630,6 @@ in
|
||||
set tabstop=4
|
||||
set softtabstop=0 noexpandtab
|
||||
set shiftwidth=4
|
||||
colorscheme catppuccin-mocha
|
||||
hi Normal guibg=NONE ctermbg=NONE
|
||||
|
||||
" VimTex
|
||||
@ -621,7 +645,6 @@ in
|
||||
plugins = with pkgs.vimPlugins; [
|
||||
vimtex
|
||||
vim-latex-live-preview
|
||||
catppuccin-nvim
|
||||
nvim-terminal-lua
|
||||
];
|
||||
};
|
||||
@ -651,9 +674,25 @@ in
|
||||
withExternalGnupg = true;
|
||||
};
|
||||
};
|
||||
|
||||
zed-editor = {
|
||||
enable = true;
|
||||
userSettings = {
|
||||
vim_mode = true;
|
||||
auto_install_extensions = { };
|
||||
theme = {
|
||||
mode = "system";
|
||||
light = "Catppuccin Latte (Blue Blur+)";
|
||||
dark = "Catppuccin Mocha (Blue Blur+)";
|
||||
};
|
||||
features = {
|
||||
copilot = false;
|
||||
};
|
||||
telemetry = {
|
||||
metrics = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
hyprlock.enable = true;
|
||||
zed-editor.enable = true;
|
||||
# Let Home Manager install and manage itself.
|
||||
home-manager.enable = true;
|
||||
};
|
||||
@ -664,17 +703,26 @@ in
|
||||
|
||||
gtk = {
|
||||
enable = true;
|
||||
theme = {
|
||||
name = "Catppuccin Mocha";
|
||||
package = pkgs.catppuccin-gtk;
|
||||
#theme = {
|
||||
# name = "Catppuccin Mocha";
|
||||
# package = pkgs.catppuccin-gtk;
|
||||
#};
|
||||
font = {
|
||||
package = pkgs.fira;
|
||||
name = "Fira Sans";
|
||||
};
|
||||
iconTheme = {
|
||||
name = "catppuccin-papirus-folders";
|
||||
package = pkgs.catppuccin-papirus-folders;
|
||||
};
|
||||
};
|
||||
|
||||
qt = {
|
||||
enable = true;
|
||||
platformTheme.name = "qt5ct";
|
||||
platformTheme.name = "kvantum";
|
||||
style = {
|
||||
name = "Catppuccin Mocha";
|
||||
package = pkgs.catppuccin;
|
||||
name = "kvantum";
|
||||
# package = pkgs.catppuccin;
|
||||
};
|
||||
};
|
||||
|
||||
@ -701,11 +749,15 @@ in
|
||||
|
||||
ssh-agent.enable = false;
|
||||
};
|
||||
dconf.settings = {
|
||||
dconf = {
|
||||
enable = true;
|
||||
settings = {
|
||||
"org/virt-manager/virt-manager/connections" = {
|
||||
autoconnect = [ "qemu:///system" ];
|
||||
uris = [ "qemu:///system" ];
|
||||
};
|
||||
"org/gnome/desktop/interface".color-scheme = "prefer-dark";
|
||||
};
|
||||
};
|
||||
|
||||
systemd.user.services = {
|
||||
|
16
flake.lock
generated
16
flake.lock
generated
@ -1,5 +1,20 @@
|
||||
{
|
||||
"nodes": {
|
||||
"catppuccin": {
|
||||
"locked": {
|
||||
"lastModified": 1735028008,
|
||||
"narHash": "sha256-crbQNRVQgPH0hX5vZk8xL9JStXo74Es7zDBjRcc4i+A=",
|
||||
"owner": "catppuccin",
|
||||
"repo": "nix",
|
||||
"rev": "bfd20bcf45f1de0e97b551be51495abf8a727f1a",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "catppuccin",
|
||||
"repo": "nix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-compat": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
@ -128,6 +143,7 @@
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"catppuccin": "catppuccin",
|
||||
"home-manager": "home-manager",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"pre-commit-hooks": "pre-commit-hooks"
|
||||
|
@ -9,6 +9,7 @@
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
pre-commit-hooks.url = "github:cachix/git-hooks.nix";
|
||||
catppuccin.url = "github:catppuccin/nix";
|
||||
};
|
||||
|
||||
outputs =
|
||||
@ -16,6 +17,7 @@
|
||||
self,
|
||||
nixpkgs,
|
||||
home-manager,
|
||||
catppuccin,
|
||||
...
|
||||
}@inputs:
|
||||
let
|
||||
@ -54,6 +56,7 @@
|
||||
# the path to your home.nix.
|
||||
modules = [
|
||||
./work.nix
|
||||
catppuccin.homeManagerModules.catppuccin
|
||||
];
|
||||
|
||||
# Optionally use extraSpecialArgs
|
||||
@ -65,6 +68,7 @@
|
||||
|
||||
modules = [
|
||||
./home.nix
|
||||
catppuccin.homeManagerModules.catppuccin
|
||||
];
|
||||
};
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user