code highlights
This commit is contained in:
parent
61228560a8
commit
411b88d724
4 changed files with 4 additions and 26 deletions
|
@ -5,7 +5,7 @@
|
||||||
}:
|
}:
|
||||||
with lib; let
|
with lib; let
|
||||||
cfg = config.features.cli.neofetch;
|
cfg = config.features.cli.neofetch;
|
||||||
neofetchConfig = ''
|
neofetchConfig = /*bash*/ ''
|
||||||
print_info() {
|
print_info() {
|
||||||
info "\033[1;32m ╭─ " distro # cl2 (green)
|
info "\033[1;32m ╭─ " distro # cl2 (green)
|
||||||
info "\033[1;32m ├─" kernel # cl2 (green)
|
info "\033[1;32m ├─" kernel # cl2 (green)
|
||||||
|
|
|
@ -186,7 +186,7 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
style = ''
|
style = /*css*/ ''
|
||||||
|
|
||||||
* {
|
* {
|
||||||
font-family: JetBrains Mono, JetBrainsMono Nerd Font, Material Design Icons;
|
font-family: JetBrains Mono, JetBrainsMono Nerd Font, Material Design Icons;
|
||||||
|
|
|
@ -11,7 +11,7 @@ in
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
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_DESKTOP_DIR="$HOME/Desktop"
|
||||||
XDG_DOWNLOAD_DIR="$HOME/Downloads"
|
XDG_DOWNLOAD_DIR="$HOME/Downloads"
|
||||||
XDG_PUBLICSHARE_DIR="$HOME/Public"
|
XDG_PUBLICSHARE_DIR="$HOME/Public"
|
||||||
|
|
|
@ -7,17 +7,8 @@
|
||||||
{
|
{
|
||||||
home.username = lib.mkDefault user;
|
home.username = lib.mkDefault user;
|
||||||
home.homeDirectory = lib.mkDefault "/home/${config.home.username}";
|
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.
|
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; [
|
home.packages = with pkgs; [
|
||||||
# Essentials
|
# Essentials
|
||||||
kitty
|
kitty
|
||||||
|
@ -78,20 +69,7 @@
|
||||||
# '')
|
# '')
|
||||||
];
|
];
|
||||||
|
|
||||||
# Home Manager is pretty good at managing dotfiles. The primary way to manage
|
home.file = { };
|
||||||
# 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 Manager can also manage your environment variables through
|
# Home Manager can also manage your environment variables through
|
||||||
# 'home.sessionVariables'. If you don't want to manage your shell through Home
|
# 'home.sessionVariables'. If you don't want to manage your shell through Home
|
||||||
|
|
Loading…
Reference in a new issue