summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2024-01-15 11:02:37 +0300
committerAzat Bahawi <azat@bahawi.net>2024-01-15 11:02:37 +0300
commit6552c02a332882914c2fae08c6166b94d4682e00 (patch)
tree0c2f3fac0b66885bc9665ec67a7425fc31875f47 /modules
parent45f4b3f347f1ca401471993e9a115eb7686e4a25 (diff)
2024-01-15
Diffstat (limited to 'modules')
-rw-r--r--modules/common/alacritty.nix72
-rw-r--r--modules/common/emacs/default.nix2
-rw-r--r--modules/common/profiles/dev/default.nix1
-rw-r--r--modules/nixos/kde.nix5
4 files changed, 53 insertions, 27 deletions
diff --git a/modules/common/alacritty.nix b/modules/common/alacritty.nix
index 86d65eb..be3af21 100644
--- a/modules/common/alacritty.nix
+++ b/modules/common/alacritty.nix
@@ -19,7 +19,8 @@ in {
y = size;
};
dynamic_padding = false;
- decorations = "full";
+ decorations = "Full";
+ startup_mode = "Maximized";
};
font = with config.fontScheme.monospaceFont; {
normal = {
@@ -41,7 +42,11 @@ in {
inherit size;
};
colors = with config.colourScheme; {
- primary = {inherit background foreground;};
+ primary = {
+ inherit background foreground;
+ dim_foreground = "None";
+ bright_foreground = "None";
+ };
cursor = {
text = "CellBackground";
cursor = "CellForeground";
@@ -59,10 +64,6 @@ in {
foreground = red;
background = black;
};
- footer_bar = {
- foreground = black;
- background = white;
- };
};
hints = {
start = {
@@ -73,33 +74,52 @@ in {
foreground = yellow;
background = black;
};
- selection = {
- text = "CellBackground";
- background = "CellForeground";
- };
- normal = {
- inherit black red green yellow blue magenta cyan white;
- };
- bright = {
- inherit
- brightBlack
- brightRed
- brightGreen
- brightYellow
- brightBlue
- brightMagenta
- brightCyan
- brightWhite
- ;
- };
+ };
+ line_indicator = {
+ foreground = "None";
+ background = "None";
+ };
+ footer_bar = {
+ foreground = black;
+ background = white;
+ };
+ selection = {
+ text = "CellBackground";
+ background = "CellForeground";
+ };
+ normal = {
+ inherit
+ black
+ red
+ green
+ yellow
+ blue
+ magenta
+ cyan
+ white
+ ;
+ };
+ bright = {
+ black = brightBlack;
+ red = brightRed;
+ green = brightGreen;
+ yellow = brightYellow;
+ blue = brightBlue;
+ magenta = brightMagenta;
+ cyan = brightCyan;
+ white = brightWhite;
};
};
+ selection.save_to_clipboard = true;
cursor = {
style = {
shape = "Block";
+ blinking = "On";
+ };
+ vi_mode_style = {
+ shape = "Block";
blinking = "Off";
};
- vi_mode_style = "Block";
};
};
};
diff --git a/modules/common/emacs/default.nix b/modules/common/emacs/default.nix
index 7cd06e0..d16d168 100644
--- a/modules/common/emacs/default.nix
+++ b/modules/common/emacs/default.nix
@@ -133,7 +133,7 @@ in {
texlab # lang (tex +lsp)
texlive.combined.scheme-full # :lang org tex
unzip # :tools debugger
- wordnet # :tools (lookup +dictionary +offline)
+ # wordnet # :tools (lookup +dictionary +offline)
yaml-language-server # :lang (yaml +lsp)
zig # :lang zig :editor format
zls # :lang (zig +lsp)
diff --git a/modules/common/profiles/dev/default.nix b/modules/common/profiles/dev/default.nix
index ecd586a..8c9e400 100644
--- a/modules/common/profiles/dev/default.nix
+++ b/modules/common/profiles/dev/default.nix
@@ -9,6 +9,7 @@ with lib; let
in {
imports = [
./containers.nix
+ ./hidden.nix
./sql.nix
];
diff --git a/modules/nixos/kde.nix b/modules/nixos/kde.nix
index adec490..a7b2c19 100644
--- a/modules/nixos/kde.nix
+++ b/modules/nixos/kde.nix
@@ -24,6 +24,11 @@ in {
"widget.use-xdg-desktop-portal.file-picker" = 1;
"widget.use-xdg-desktop-portal.mime-handler" = 1;
};
+
+ services.kdeconnect = {
+ enable = true;
+ indicator = true;
+ };
};
services.xserver = {