Remove useless code and some improvements
This commit is contained in:
parent
3aacd937b9
commit
6b194806f5
5 changed files with 67 additions and 19 deletions
|
@ -2,10 +2,6 @@
|
|||
inputs = {
|
||||
stylix.url = "github:danth/stylix";
|
||||
nixpkgs.url = "github:NixOs/nixpkgs/nixos-unstable";
|
||||
firefox-gnome-theme = {
|
||||
url = "github:rafaelmardojai/firefox-gnome-theme";
|
||||
flake = false;
|
||||
};
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
@ -27,8 +23,7 @@
|
|||
nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = {
|
||||
inherit inputs;
|
||||
inherit self;
|
||||
inherit inputs self;
|
||||
};
|
||||
modules =
|
||||
[
|
||||
|
|
61
home-manager/neofetch.nix
Normal file
61
home-manager/neofetch.nix
Normal file
|
@ -0,0 +1,61 @@
|
|||
{
|
||||
xdg.configFile."neofetch/config.conf".text = ''
|
||||
print_info() {
|
||||
prin " ''${cl7}┌─────────''${cl0}\n Hardware Information \n''${cl7}──────────<U+F111>"
|
||||
info "├<U+F85A>" cpu
|
||||
info "├─<U+F879>" gpu
|
||||
info "├<U+F2DB>" memory
|
||||
prin " ''${cl7}├─────────''${cl0}\n Software Information \n''${cl7}──────────<U+F111>"
|
||||
info "├<U+F303>" distro
|
||||
info "├<U+E615>" kernel
|
||||
info "├<U+F2D0>" de
|
||||
info "├<U+F292>" shell
|
||||
info "├>" term
|
||||
info "├<U+F48F>" theme
|
||||
info "├<U+F8D6>" packages
|
||||
prin " ''${cl7}└────────────────────────────────────────<U+F111>"
|
||||
prin "\n \n \n \n \n ''${cl3}<U+F111> \n \n ''${cl5}<U+F111> \n \n ''${cl2}<U+F111> \n \n ''${cl6}<U+F111> \n \n ''${cl4}
|
||||
<U+F111> \n \n ''${cl1}<U+F111> \n \n ''${cl7}<U+F111> \n \n ''${cl0}<U+F111>"
|
||||
}
|
||||
|
||||
magenta="\033[1;35m"
|
||||
green="\033[1;32m"
|
||||
white="\033[1;37m"
|
||||
blue="\033[1;34m"
|
||||
red="\033[1;31m"
|
||||
black="\033[1;40;30m"
|
||||
yellow="\033[1;33m"
|
||||
cyan="\033[1;36m"
|
||||
reset="\033[0m"
|
||||
bgyellow="\033[1;43;33m"
|
||||
bgwhite="\033[1;47;37m"
|
||||
cl0="''${reset}"
|
||||
cl1="''${magenta}"
|
||||
cl2="''${green}"
|
||||
cl3="''${white}"
|
||||
cl4="''${blue}"
|
||||
cl5="''${red}"
|
||||
cl6="''${yellow}"
|
||||
cl7="''${cyan}"
|
||||
cl8="''${black}"
|
||||
cl9="''${bgyellow}"
|
||||
cl10="''${bgwhite}"
|
||||
color_blocks="off"
|
||||
os_arch="off"
|
||||
memory_percent="on"
|
||||
package_managers="on"
|
||||
shell_version="off"
|
||||
speed_shorthand="on"
|
||||
cpu_brand="on"
|
||||
cpu_speed="off"
|
||||
cpu_cores="off"
|
||||
gtk_shorthand="on"
|
||||
de_version="off"
|
||||
separator=""
|
||||
memory_display="on"
|
||||
disk_display="on"
|
||||
colors=(0 0 0 6 6 7)
|
||||
ascii_colors=(6 6 6 6 6 6)
|
||||
image_size="250px"
|
||||
'';
|
||||
}
|
|
@ -79,7 +79,6 @@
|
|||
systemPackages = with pkgs; ([
|
||||
tldr
|
||||
tuba
|
||||
kooha
|
||||
heroic
|
||||
nodejs
|
||||
killall
|
||||
|
@ -107,15 +106,7 @@
|
|||
};
|
||||
|
||||
programs = {
|
||||
steam = {
|
||||
enable = true;
|
||||
# package = pkgs.symlinkJoin {
|
||||
# name = pkgs.steam.name;
|
||||
# paths = [pkgs.steam];
|
||||
# buildInputs = [pkgs.makeWrapper];
|
||||
# postBuild = ''wrapProgram $out/bin/steam --add-flags "-gamepadui"'';
|
||||
# };
|
||||
};
|
||||
steam.enable = true;
|
||||
fish.interactiveShellInit = "neowofetch";
|
||||
};
|
||||
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
../home-manager/git.nix
|
||||
../home-manager/btop.nix
|
||||
../home-manager/vscode.nix
|
||||
../home-manager/neofetch.nix
|
||||
../home-manager/mangohud.nix
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue