diff --git a/nixos/home.nix b/nixos/home.nix index e4843e0..6cbd61b 100644 --- a/nixos/home.nix +++ b/nixos/home.nix @@ -28,12 +28,63 @@ 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; + }; + }; + }; + }; }; } diff --git a/nixos/hosts/qemu/configuration.nix b/nixos/hosts/qemu/configuration.nix index 2b3fcae..6a755e1 100644 --- a/nixos/hosts/qemu/configuration.nix +++ b/nixos/hosts/qemu/configuration.nix @@ -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