code highlights

This commit is contained in:
nomadics9 2024-11-02 21:00:56 +03:00
parent 61228560a8
commit 411b88d724
4 changed files with 4 additions and 26 deletions

View file

@ -5,7 +5,7 @@
}:
with lib; let
cfg = config.features.cli.neofetch;
neofetchConfig = ''
neofetchConfig = /*bash*/ ''
print_info() {
info "\033[1;32m 󱄅 " distro # cl2 (green)
info "\033[1;32m " kernel # cl2 (green)

View file

@ -186,7 +186,7 @@ in
};
style = ''
style = /*css*/ ''
* {
font-family: JetBrains Mono, JetBrainsMono Nerd Font, Material Design Icons;

View file

@ -11,7 +11,7 @@ in
config = mkIf cfg.enable {
home.file.".config/user-dirs.dirs".text = ''
home.file.".config/user-dirs.dirs".text = /*bash*/ ''
XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_DOWNLOAD_DIR="$HOME/Downloads"
XDG_PUBLICSHARE_DIR="$HOME/Public"

View file

@ -7,17 +7,8 @@
{
home.username = lib.mkDefault user;
home.homeDirectory = lib.mkDefault "/home/${config.home.username}";
# This value determines the Home Manager release that your configuration is
# compatible with. This helps avoid breakage when a new Home Manager release
# introduces backwards incompatible changes.
#
# You should not change this value, even if you update Home Manager. If you do
# want to update the value, then make sure to first check the Home Manager
# release notes.
home.stateVersion = "24.05"; # Please read the comment before changing.
# The home.packages option allows you to install Nix packages into your
# environment.
home.packages = with pkgs; [
# Essentials
kitty
@ -78,20 +69,7 @@
# '')
];
# Home Manager is pretty good at managing dotfiles. The primary way to manage
# plain files is through 'home.file'.
home.file = {
# # Building this configuration will create a copy of 'dotfiles/screenrc' in
# # the Nix store. Activating the configuration will then make '~/.screenrc' a
# # symlink to the Nix store copy.
# ".screenrc".source = dotfiles/screenrc;
# # You can also set the file content immediately.
# ".gradle/gradle.properties".text = ''
# org.gradle.console=verbose
# org.gradle.daemon.idletimeout=3600000
# '';
};
home.file = { };
# Home Manager can also manage your environment variables through
# 'home.sessionVariables'. If you don't want to manage your shell through Home