mirror of
https://git.sr.ht/~roxwize/.dotfiles
synced 2025-03-14 08:23:25 +00:00
~
This commit is contained in:
parent
28884d028b
commit
f90f92b259
1 changed files with 53 additions and 51 deletions
104
nixos/home.nix
104
nixos/home.nix
|
@ -5,7 +5,7 @@ in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
"${home-manager}/nixos"
|
"${home-manager}/nixos"
|
||||||
# "${plasma-manager}/modules"
|
# "${plasma-manager}/modules"
|
||||||
];
|
];
|
||||||
|
|
||||||
home-manager.users.rae = {
|
home-manager.users.rae = {
|
||||||
|
@ -20,8 +20,8 @@ in
|
||||||
".twmrc".source = ../configs/twm;
|
".twmrc".source = ../configs/twm;
|
||||||
".config/i3/config".source = ../configs/i3;
|
".config/i3/config".source = ../configs/i3;
|
||||||
|
|
||||||
".config/openbox/autostart".source = ../configs/openbox/autostart;
|
".config/openbox/autostart".source = ../configs/openbox/autostart;
|
||||||
".config/openbox/rc.xml".source = ../configs/openbox/rc.xml;
|
".config/openbox/rc.xml".source = ../configs/openbox/rc.xml;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -33,72 +33,74 @@ in
|
||||||
};
|
};
|
||||||
kitty = {
|
kitty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
font.name = "Fira Code";
|
font.name = "Fira Code";
|
||||||
#theme = "Catppuccin-Latte";
|
#theme = "Catppuccin-Latte";
|
||||||
};
|
};
|
||||||
neovim = {
|
neovim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
defaultEditor = true;
|
defaultEditor = true;
|
||||||
vimAlias = true;
|
vimAlias = true;
|
||||||
plugins = with pkgs.vimPlugins; [
|
plugins = with pkgs.vimPlugins; [
|
||||||
vim-wakatime
|
vim-wakatime
|
||||||
];
|
];
|
||||||
extraLuaConfig = ''
|
extraLuaConfig = ''
|
||||||
vim.opt["tabstop"] = 4
|
vim.opt["tabstop"] = 4
|
||||||
vim.opt["shiftwidth"] = 4
|
vim.opt["shiftwidth"] = 4
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
polybar = {
|
polybar = {
|
||||||
enable = true;
|
enable = true;
|
||||||
script = "polybar &";
|
script = "polybar &";
|
||||||
settings = {
|
settings = {
|
||||||
"global/wm" = {
|
"global/wm" = {
|
||||||
margin-top = 2;
|
margin-top = 2;
|
||||||
margin-bottom = 2;
|
margin-bottom = 2;
|
||||||
};
|
};
|
||||||
"bar/top" = {
|
"bar/top" = {
|
||||||
background = "#00000000";
|
background = "#00000000";
|
||||||
foreground = "#fff";
|
foreground = "#fff";
|
||||||
width = "100%";
|
width = "100%";
|
||||||
height = 32;
|
height = 32;
|
||||||
font-0 = "GohuFont:style=Regular:size=14;3";
|
font-0 = "GohuFont:style=Regular:size=14;3";
|
||||||
modules-left = "cpu memory";
|
modules-left = "cpu memory";
|
||||||
modules-center = "xwindow";
|
modules-center = "xwindow";
|
||||||
modules-right = "date";
|
modules-right = "date";
|
||||||
module-margin = 1;
|
module-margin = 1;
|
||||||
offset-y = 16;
|
offset-y = 14;
|
||||||
padding = 2;
|
padding = 2;
|
||||||
};
|
};
|
||||||
|
|
||||||
"module/cpu" = {
|
"module/cpu" = {
|
||||||
type = "internal/cpu";
|
type = "internal/cpu";
|
||||||
label = "CPU: %percentage%%";
|
label = "CPU: %percentage%%";
|
||||||
label-background = "#ff3b1c32";
|
label-background = "#ff3b1c32";
|
||||||
interval = 2;
|
label-padding = 2;
|
||||||
format-padding = "1pt";
|
interval = 2;
|
||||||
};
|
};
|
||||||
"module/memory" = {
|
"module/memory" = {
|
||||||
type = "internal/memory";
|
type = "internal/memory";
|
||||||
label = "RAM: %percentage_used%%";
|
label = "RAM: %percentage_used%%";
|
||||||
label-background = "#ff6a1e55";
|
label-background = "#ff6a1e55";
|
||||||
interval = 2;
|
label-padding = 2;
|
||||||
};
|
interval = 2;
|
||||||
"module/xwindow" = {
|
};
|
||||||
|
"module/xwindow" = {
|
||||||
type = "internal/xwindow";
|
type = "internal/xwindow";
|
||||||
label-active-font = 0;
|
label-active-font = 0;
|
||||||
};
|
};
|
||||||
"module/date" = {
|
"module/date" = {
|
||||||
type = "internal/date";
|
type = "internal/date";
|
||||||
date = "%b %d %y";
|
date = "%b %d %y";
|
||||||
time = "%I:%M %p";
|
time = "%I:%M %p";
|
||||||
label-background = "#ffa64d79";
|
label-background = "#ffa64d79";
|
||||||
interval = 5;
|
label-padding = 2;
|
||||||
};
|
interval = 5;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue