1
0
Fork 0
mirror of https://git.sr.ht/~roxwize/.dotfiles synced 2025-03-04 11:52:08 +00:00
.dotfiles/nixos/home.nix

103 lines
2.6 KiB
Nix
Raw Normal View History

2024-11-30 22:11:40 -05: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-11-30 22:44:05 -05:00
# "${plasma-manager}/modules"
2024-11-30 22:11:40 -05:00
];
home-manager.users.rae = {
2024-11-30 23:08:16 -05:00
home = {
stateVersion = "24.11";
2024-12-01 11:57:18 -05:00
sessionVariables = {
BROWSER = "firefox";
TERM = "kitty";
};
2024-11-30 23:08:16 -05:00
file = {
2024-12-09 15:19:40 -05:00
".background-image".source = ../assets/wallpapers/2kki_rainyapartments.png;
2024-12-01 11:57:18 -05:00
".twmrc".source = ../configs/twm;
".config/i3/config".source = ../configs/i3;
2024-12-09 21:37:25 -05:00
".config/openbox/autostart".source = ../configs/openbox/autostart;
2024-11-30 23:08:16 -05:00
};
};
2024-11-30 22:11:40 -05:00
programs = {
git = {
enable = true;
userName = "roxwize";
userEmail = "rae@roxwize.xyz";
};
2024-12-09 17:15:24 -05:00
kitty = {
enable = true;
font.name = "Fira Code";
#theme = "Catppuccin-Latte";
};
2024-12-09 15:19:40 -05:00
neovim = {
enable = true;
2024-12-09 17:15:24 -05:00
defaultEditor = true;
vimAlias = true;
2024-12-09 15:19:40 -05:00
plugins = with pkgs.vimPlugins; [
vim-wakatime
];
2024-12-09 17:15:24 -05:00
extraLuaConfig = ''
vim.opt["tabstop"] = 4
vim.opt["shiftwidth"] = 4
'';
2024-12-09 15:19:40 -05:00
};
2024-11-30 22:11:40 -05:00
};
2024-12-09 17:15:24 -05:00
services = {
polybar = {
enable = true;
script = "polybar &";
settings = {
"global/wm" = {
2024-12-09 21:37:25 -05:00
margin-top = 2;
margin-bottom = 2;
2024-12-09 17:15:24 -05:00
};
"bar/top" = {
2024-12-09 21:37:25 -05:00
background = "#00000000";
foreground = "#fff";
width = "100%";
height = 32;
font-0 = "GohuFont:style=Regular:size=14;3";
2024-12-09 17:15:24 -05:00
modules-left = "cpu memory";
modules-center = "xwindow";
modules-right = "date";
2024-12-09 21:37:25 -05:00
module-margin = 1;
offset-y = 16;
padding = 2;
2024-12-09 17:15:24 -05:00
};
"module/cpu" = {
type = "internal/cpu";
label = "CPU: %percentage%%";
2024-12-09 21:37:25 -05:00
label-background = "#ff3b1c32";
2024-12-09 17:15:24 -05:00
interval = 2;
};
"module/memory" = {
type = "internal/memory";
label = "RAM: %percentage_used%%";
2024-12-09 21:37:25 -05:00
label-background = "#ff6a1e55";
2024-12-09 17:15:24 -05:00
interval = 2;
};
"module/xwindow" = {
type = "internal/xwindow";
label-active-font = 0;
};
"module/date" = {
type = "internal/date";
date = "%b %d %y";
time = "%I:%M %p";
2024-12-09 21:37:25 -05:00
label-background = "#ffa64d79";
2024-12-09 17:15:24 -05:00
interval = 5;
};
};
};
};
2024-11-30 22:11:40 -05:00
};
2024-11-30 22:44:05 -05:00
}