From 02426e2d0329344d6f5b5be45d6e999e409aae35 Mon Sep 17 00:00:00 2001 From: coast Date: Thu, 29 May 2025 22:32:48 +0200 Subject: [PATCH] Delete .config/home-manager/home.nix --- .config/home-manager/home.nix | 262 ---------------------------------- 1 file changed, 262 deletions(-) delete mode 100644 .config/home-manager/home.nix diff --git a/.config/home-manager/home.nix b/.config/home-manager/home.nix deleted file mode 100644 index 2986808..0000000 --- a/.config/home-manager/home.nix +++ /dev/null @@ -1,262 +0,0 @@ -# _ _ -#| |__ ___ _ __ ___ ___ _ __ (_)_ __ -#| '_ \ / _ \| '_ ` _ \ / _ \ | '_ \| \ \/ / -#| | | | (_) | | | | | | __/_| | | | |> < -#|_| |_|\___/|_| |_| |_|\___(_)_| |_|_/_/\_\ -#Coasteen's ~/.config/home-manager/home.nix -{ config, pkgs, ... }: -{ - home.username = "avery"; - home.homeDirectory = "/home/avery"; - home.stateVersion = "25.05"; - home.packages = with pkgs; [ - bat cowsay bat cmatrix bat cava bat cbonsai bat ksh bat tree hyfetch qutebrowser xonsh elvish openjdk btop htop cpufetch lm_sensors ]; - home.file = { - }; - home.sessionVariables = { - EDITOR = "emacs"; - BROWSER = "brave"; - }; - programs.eza = { - enable = true; -}; - programs.bash = { - enable = true; - initExtra = '' - if [ "$(id -u)" = 0 ]; then PS1ICON='#'; else PS1ICON='$'; fi -PS1='\[\e[38;2;254;128;25m\][\[\e[38;2;235;219;178m\]\u\[\e[38;2;200;200;200m\]@\[\e[38;2;131;165;152m\]coast \[\e[38;2;235;219;178m\]\w\[\e[38;2;254;128;25m\]]'"$PS1ICON"'\[\e[0m\] ' - source "$HOME/.config/shell/aliases" - source "$HOME/.config/shell/exports" - ''; -}; - home.file.".config/bat/config".text = '' - --theme="Nord" - --style="numbers,changes,grid" - --paging=auto - ''; -#fastfetch - home.file.".config/fastfetch/config.jsonc".text = '' - { - "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", - "display": { - "separator": " :: " - }, - "logo": { - "type": "builtin", - "source": "arch2", - "width": 65, - "height": 35, - "padding": { - "top": 0, - "left": 0, - "right": 2 - } - }, - "modules": [ - "break", - "break", - "os", - "kernel", - "uptime", - { - "type": "packages", - "manager": ["nix-user", "pacman"] - }, - "shell", - "display", - "de", - { - "type": "cpu", - "format": "{name} ({cores-physical}C/{cores-logical}T) @ {freq-max}" - }, - "gpu", - { - "type": "memory", - "key": "Memory", - "percent": { - "type": 3, - "green": 30, - "yellow": 70 - } - }, - { - "type": "swap", - "key": "Swap", - "percent": { - "type": 3, - "green": 30, - "yellow": 70 - } - }, - { - "type": "disk", - "key": "Disk", - "percent": { - "type": 3, - "green": 30, - "yellow": 70 - } - }, - { - "type": "battery", - "key": "Battery", - "percent": { - "type": 3, - "green": 70, - "yellow": 30 - } - }, - "editor", - "locale", - "break" - ] -} - - ''; -#vim conf - home.file.".vimrc".text = '' - set number - set shiftwidth=4 - set tabstop=4 - set wrap - set cursorline - set linebreak - set termguicolors - syntax on - filetype plugin indent on - set ignorecase - set smartcase - set hlsearch - set incsearch - set autoindent - set expandtab - nnoremap :NERDTreeToggle - call plug#begin('~/.vim/plugged') - Plug 'tpope/vim-sensible' - Plug 'preservim/nerdtree' - Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } - Plug 'junegunn/fzf.vim' - Plug 'vim-airline/vim-airline' - Plug 'vim-airline/vim-airline-themes' - call plug#end() - set background=dark - ''; - home.file.".config/shell/exports".text = '' - export PATH=$HOME/.local/bin:$PATH - export PATH=$HOME/.luarocks/bin:$PATH - if [ -n "$ZSH_VERSION" ]; then - export ZSH="/home/avery/.oh-my-zsh" - fi - export NIXPKGS_ALLOW_UNFREE=1 - export EDITOR="emacs" - ''; - home.file.".config/shell/aliases".text = '' - #!/bin/sh - #general aliases - alias forge="su forgejo" - alias cst="emacs ~/.suckless/st/config.h" - alias resmacs="systemctl --user restart emacsd" - alias smi="nvidia-smi" - alias src="source ~/.zshrc" - alias bat="sb-battery" - alias battery="sb-battery" - alias vimrc="vim .vimrc" - alias ri="ranger" - alias rim="ranger" - alias quit="exit" - alias :q="exit" - alias :q!="exit" - alias :Q="exit" - alias :Q!="exit" - alias :quit="exit" - alias :quit!="exit" - alias :QUIT="exit" - alias :QUIT!="exit" - alias q="exit" - alias fnl="fennel" - alias irc="irssi" - alias hsw="home-manager switch --flake ~/.config/home-manager" - alias hsc="emacs ~/.config/home-manager/home.nix" - alias yell="echo" - alias chm="ecop cat ~/.config/home-manager/home.nix" - if [ -n "$ZSH_VERSION" ]; then - alias ed="ed -p '%: '" - else - alias ed="ed -p '$: '" - fi - alias weather="curl wttr.in/masjedsoleyman" - #typo/shortcut - alias c="clear" - alias cear="clear" - alias "cd.."="cd .." - alias claer="clear" - alias claer="clear" - alias clare="clear" - alias cleae="clear" - alias clera="clear" - alias hotp="htop" - ''; - home.file.".zshrc".text = '' -#!/usr/bin/zsh -HISTFILE=$HOME/.cache/zsh/history -SAVEHIST=100000000 -HISTSIZE=$SAVEHIST -setopt appendhistory -#tab completion -autoload -U compinit -zstyle ':completion:*' menu select -zmodload zsh/complist -compinit -_comp_options+=(globdots) -#oh my zsh -ZSH_THEME="gentoo" -plugins=(git) -export ZSH="$HOME/.oh-my-zsh" -source $ZSH/oh-my-zsh.sh -#source -source "$HOME/.config/shell/aliases" -source "$HOME/.config/shell/exports" -source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh -fpath=(/usr/share/zsh/site-functions $fpath) -source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh -#colors -autoload -U colors && colors -setopt prompt_subst -#prompt -[ "$(id -u)" = 0 ] && PS1ICON="#" || PS1ICON='%' -PROMPT='%{$(echo -e "\e[38;2;254;128;25m")%}[%{$(echo -e "\e[38;2;235;219;178m")%}%n%{$(echo -e "\e[38;2;200;200;200m")%}@%{$(echo -e "\e[38;2;131;165;152m")%}coast %{$(echo -e "\e[38;2;235;219;178m")%}%~%{$(echo -e "\e[38;2;254;128;25m")%}]%$PS1ICON%{$(echo -e "\e[0m")%} ' - ''; - - programs.alacritty = { - enable = true; - settings = { - window = { - padding = { - x = 4; - y = 4; - }; - decorations = "transparent"; - blur = true; - opacity = 0.9; - }; - font = { - normal = { - family = "monospace"; - }; - size = 9; - }; - colors = { -# primary = { -# background = "0x1e1e2e"; -# foreground = "0xcdd6f4"; -# }; - cursor = { - text = "0x1e1e2e"; - cursor = "0xcdd6f4"; - }; - }; - }; - }; - - programs.home-manager.enable = true; -}