2024-12-01 03:11:40 +00:00
|
|
|
{ pkgs, ... }:
|
|
|
|
let
|
|
|
|
home-manager = builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/release-24.11.tar.gz";
|
|
|
|
in
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
"${home-manager}/nixos"
|
2024-12-01 03:44:05 +00:00
|
|
|
# "${plasma-manager}/modules"
|
2024-12-01 03:11:40 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
home-manager.users.rae = {
|
2024-12-01 04:08:16 +00:00
|
|
|
home = {
|
|
|
|
stateVersion = "24.11";
|
2024-12-01 16:57:18 +00:00
|
|
|
sessionVariables = {
|
|
|
|
BROWSER = "firefox";
|
|
|
|
TERM = "kitty";
|
|
|
|
};
|
2024-12-01 04:08:16 +00:00
|
|
|
file = {
|
2024-12-09 20:19:40 +00:00
|
|
|
".background-image".source = ../assets/wallpapers/2kki_rainyapartments.png;
|
2024-12-01 16:57:18 +00:00
|
|
|
".twmrc".source = ../configs/twm;
|
|
|
|
".config/i3/config".source = ../configs/i3;
|
2024-12-01 04:08:16 +00:00
|
|
|
};
|
|
|
|
};
|
2024-12-01 03:11:40 +00:00
|
|
|
|
|
|
|
programs = {
|
|
|
|
git = {
|
|
|
|
enable = true;
|
|
|
|
userName = "roxwize";
|
|
|
|
userEmail = "rae@roxwize.xyz";
|
|
|
|
};
|
2024-12-09 22:15:24 +00:00
|
|
|
kitty = {
|
|
|
|
enable = true;
|
|
|
|
font.name = "Fira Code";
|
|
|
|
#theme = "Catppuccin-Latte";
|
|
|
|
};
|
2024-12-09 20:19:40 +00:00
|
|
|
neovim = {
|
|
|
|
enable = true;
|
2024-12-09 22:15:24 +00:00
|
|
|
defaultEditor = true;
|
|
|
|
vimAlias = true;
|
2024-12-09 20:19:40 +00:00
|
|
|
plugins = with pkgs.vimPlugins; [
|
|
|
|
vim-wakatime
|
|
|
|
];
|
2024-12-09 22:15:24 +00:00
|
|
|
extraLuaConfig = ''
|
|
|
|
vim.opt["tabstop"] = 4
|
|
|
|
vim.opt["shiftwidth"] = 4
|
|
|
|
'';
|
2024-12-09 20:19:40 +00:00
|
|
|
};
|
2024-12-01 03:11:40 +00:00
|
|
|
};
|
2024-12-09 22:15:24 +00:00
|
|
|
|
|
|
|
services = {
|
|
|
|
polybar = {
|
|
|
|
enable = true;
|
|
|
|
script = "polybar &";
|
|
|
|
settings = {
|
|
|
|
"global/wm" = {
|
|
|
|
margin-top = 5;
|
|
|
|
margin-bottom = 5;
|
|
|
|
};
|
|
|
|
"bar/top" = {
|
2024-12-10 00:57:13 +00:00
|
|
|
font-0 = "GohuFont:style=Regular:size=14;antialias=false";
|
2024-12-09 22:15:24 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2024-12-01 03:11:40 +00:00
|
|
|
};
|
2024-12-01 03:44:05 +00:00
|
|
|
}
|