monitor mirroring

This commit is contained in:
Vivian 2024-04-02 17:54:13 +02:00
parent 6215afa533
commit ef35ed546e
20 changed files with 977 additions and 536 deletions

View file

@ -7,6 +7,12 @@
with lib;
let
cfg = config.themes.v.catppuccin;
mako = pkgs.fetchFromGitHub {
owner = "catppuccin";
repo = "mako";
rev = "9dd088aa5f4529a3dd4d9760415e340664cb86df";
sha256 = "sha256-nUzWkQVsIH4rrCFSP87mXAka6P+Td2ifNbTuP7NM/SQ=";
};
in
{
options.themes.v.catppuccin = {
@ -24,8 +30,6 @@ in
font.name = "DejaVuSansMono Nerd Font";
};
# home.sessionVariables.GTK_USE_PORTAL = "1";
gtk = {
enable = true;
theme = {
@ -45,24 +49,28 @@ in
};
};
xdg.configFile = {
"gtk-4.0/assets".source = "${config.gtk.theme.package}/share/themes/${config.gtk.theme.name}/gtk-4.0/assets";
"gtk-4.0/gtk.css".source = "${config.gtk.theme.package}/share/themes/${config.gtk.theme.name}/gtk-4.0/gtk.css";
"gtk-4.0/gtk-dark.css".source = "${config.gtk.theme.package}/share/themes/${config.gtk.theme.name}/gtk-4.0/gtk-dark.css";
};
qt = {
enable = true;
platformTheme = "qtct";
style = {
name = "Catppuccin-Frappe-Pink";
package = pkgs.catppuccin-kde.override {
flavour = [ "frappe" ];
accents = [ "pink" ];
};
};
style.name = "kvantum";
};
xdg.configFile = {
"Kvantum/kvantum.kvconfig".text = ''
[General]
theme=Catppuccin-Frappe-Pink
'';
};
home.packages = with pkgs; [
(catppuccin-kvantum.override {
accent = "Pink";
variant = "Frappe";
})
];
programs.mako.extraConfig = builtins.readFile "${mako}/src/frappe";
programs.vscode = {
userSettings."workbench.colorTheme" = "Catppuccin Frappé";
extensions = [ pkgs.vscode-extensions.catppuccin.catppuccin-vsc ];

View file

@ -40,6 +40,12 @@ with lib;
clipboard.providers.wl-copy.enable = true;
keymaps = [
# General
{
mode = "n";
key = "<leader>";
action = ":noh<CR>";
}
# Telescope
{
mode = "n";
@ -185,9 +191,12 @@ with lib;
FixCursorHold-nvim
nvim-web-devicons
nvim-nio
nvim-surround
];
extraConfigLua = "";
extraConfigLua = "
require('nvim-surround').setup()
";
colorschemes.catppuccin = {
enable = true;
@ -275,7 +284,7 @@ with lib;
nixGrammars = true;
disabledLanguages = [ "latex" ];
};
surround.enable = true;
# surround.enable = true;
fugitive.enable = true;
gitgutter.enable = true;
@ -326,7 +335,8 @@ with lib;
};
};
servers = {
nil_ls.enable = true;
cssls.enable = true;
nil_ls.enable = true; #NixOS
dockerls.enable = true;
rust-analyzer = {
enable = true;