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