mirror of
https://git.sr.ht/~roxwize/.dotfiles
synced 2025-02-07 09:52:50 +00:00
~
This commit is contained in:
parent
49d6cc7d71
commit
2a552d6ce9
2 changed files with 62 additions and 1 deletions
|
@ -28,11 +28,62 @@ in
|
|||
userName = "roxwize";
|
||||
userEmail = "rae@roxwize.xyz";
|
||||
};
|
||||
kitty = {
|
||||
enable = true;
|
||||
font.name = "Fira Code";
|
||||
#theme = "Catppuccin-Latte";
|
||||
};
|
||||
neovim = {
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
vimAlias = true;
|
||||
plugins = with pkgs.vimPlugins; [
|
||||
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;
|
||||
};
|
||||
|
||||
fonts = {
|
||||
enableDefaultPackages = true;
|
||||
packages = with pkgs; [
|
||||
noto-fonts
|
||||
noto-fonts-cjk-sans
|
||||
noto-fonts-emoji
|
||||
fira-code
|
||||
gohufont
|
||||
];
|
||||
};
|
||||
|
||||
users.users.rae = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" ];
|
||||
|
@ -89,7 +100,6 @@
|
|||
xclip
|
||||
yt-dlp
|
||||
# text editors
|
||||
helix
|
||||
neovim
|
||||
vscodium
|
||||
# misc
|
||||
|
|
Loading…
Reference in a new issue