mirror of
https://git.sr.ht/~roxwize/.dotfiles
synced 2025-04-03 18:14:15 +00:00
~
This commit is contained in:
parent
49d6cc7d71
commit
2a552d6ce9
2 changed files with 62 additions and 1 deletions
|
@ -28,12 +28,63 @@ in
|
||||||
userName = "roxwize";
|
userName = "roxwize";
|
||||||
userEmail = "rae@roxwize.xyz";
|
userEmail = "rae@roxwize.xyz";
|
||||||
};
|
};
|
||||||
|
kitty = {
|
||||||
|
enable = true;
|
||||||
|
font.name = "Fira Code";
|
||||||
|
#theme = "Catppuccin-Latte";
|
||||||
|
};
|
||||||
neovim = {
|
neovim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
defaultEditor = true;
|
||||||
|
vimAlias = true;
|
||||||
plugins = with pkgs.vimPlugins; [
|
plugins = with pkgs.vimPlugins; [
|
||||||
vim-wakatime
|
vim-wakatime
|
||||||
];
|
];
|
||||||
|
extraLuaConfig = ''
|
||||||
|
vim.opt["tabstop"] = 4
|
||||||
|
vim.opt["shiftwidth"] = 4
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services = {
|
||||||
|
polybar = {
|
||||||
|
enable = true;
|
||||||
|
script = "polybar &";
|
||||||
|
settings = {
|
||||||
|
"global/wm" = {
|
||||||
|
font-0 = "GohuFont:style=Regular;antialias=false";
|
||||||
|
margin-top = 5;
|
||||||
|
margin-bottom = 5;
|
||||||
|
};
|
||||||
|
"bar/top" = {
|
||||||
|
modules-left = "cpu memory";
|
||||||
|
modules-center = "xwindow";
|
||||||
|
modules-right = "date";
|
||||||
|
};
|
||||||
|
|
||||||
|
"module/cpu" = {
|
||||||
|
type = "internal/cpu";
|
||||||
|
label = "CPU: %percentage%%";
|
||||||
|
interval = 2;
|
||||||
|
};
|
||||||
|
"module/memory" = {
|
||||||
|
type = "internal/memory";
|
||||||
|
label = "RAM: %percentage_used%%";
|
||||||
|
interval = 2;
|
||||||
|
};
|
||||||
|
"module/xwindow" = {
|
||||||
|
type = "internal/xwindow";
|
||||||
|
label-active-font = 0;
|
||||||
|
};
|
||||||
|
"module/date" = {
|
||||||
|
type = "internal/date";
|
||||||
|
date = "%b %d %y";
|
||||||
|
time = "%I:%M %p";
|
||||||
|
interval = 5;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -69,6 +69,17 @@
|
||||||
printing.enable = true;
|
printing.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
fonts = {
|
||||||
|
enableDefaultPackages = true;
|
||||||
|
packages = with pkgs; [
|
||||||
|
noto-fonts
|
||||||
|
noto-fonts-cjk-sans
|
||||||
|
noto-fonts-emoji
|
||||||
|
fira-code
|
||||||
|
gohufont
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
users.users.rae = {
|
users.users.rae = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = [ "wheel" ];
|
extraGroups = [ "wheel" ];
|
||||||
|
@ -89,7 +100,6 @@
|
||||||
xclip
|
xclip
|
||||||
yt-dlp
|
yt-dlp
|
||||||
# text editors
|
# text editors
|
||||||
helix
|
|
||||||
neovim
|
neovim
|
||||||
vscodium
|
vscodium
|
||||||
# misc
|
# misc
|
||||||
|
|
Loading…
Add table
Reference in a new issue