From 411b88d72413075133e26727682e698ac41594b7 Mon Sep 17 00:00:00 2001 From: nomadics9 Date: Sat, 2 Nov 2024 21:00:56 +0300 Subject: [PATCH] code highlights --- home/features/cli/neofetch.nix | 2 +- home/features/desktop/wayland.nix | 2 +- home/features/desktop/xdg.nix | 2 +- home/nomad/unkown/home.nix | 24 +----------------------- 4 files changed, 4 insertions(+), 26 deletions(-) diff --git a/home/features/cli/neofetch.nix b/home/features/cli/neofetch.nix index af87332..389f3e2 100644 --- a/home/features/cli/neofetch.nix +++ b/home/features/cli/neofetch.nix @@ -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) diff --git a/home/features/desktop/wayland.nix b/home/features/desktop/wayland.nix index 38e527e..2b0a5b0 100644 --- a/home/features/desktop/wayland.nix +++ b/home/features/desktop/wayland.nix @@ -186,7 +186,7 @@ in }; - style = '' + style = /*css*/ '' * { font-family: JetBrains Mono, JetBrainsMono Nerd Font, Material Design Icons; diff --git a/home/features/desktop/xdg.nix b/home/features/desktop/xdg.nix index a938c02..ade076f 100644 --- a/home/features/desktop/xdg.nix +++ b/home/features/desktop/xdg.nix @@ -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" diff --git a/home/nomad/unkown/home.nix b/home/nomad/unkown/home.nix index 99863aa..67b61cc 100644 --- a/home/nomad/unkown/home.nix +++ b/home/nomad/unkown/home.nix @@ -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