Compare commits

..

2 Commits

2 changed files with 175 additions and 225 deletions

View File

@ -27,8 +27,8 @@ with import <nixpkgs> {};
hardware = { hardware = {
# support for GPUs # support for GPUs
amdgpu = true; amdgpu = false;
intelgpu = false; intelgpu = true;
nvidiagpu = false; nvidiagpu = false;
bluetooth = true; bluetooth = true;

View File

@ -1,250 +1,200 @@
{ pkgs, config, ... }: { pkgs, config, ... }:
{ {
# ======================================================
# _ _
# | | | |___ ___ _ __
# | | | / __|/ _ \ '__|
# | |_| \__ \ __/ |
# \___/|___/\___|_|
#
# Configuration for user servostar
programs.zsh.enable = true; programs.zsh.enable = true;
# Define a user account. Don't forget to set a password with passwd. # Define a user account. Don't forget to set a password with passwd.
users.users.servostar = { users.users.servostar = {
isNormalUser = true; isNormalUser = true;
description = "adminstrator"; description = "adminstrator";
# member groups for this user # member groups for this user
extraGroups = [ extraGroups = [
"networkmanager" "networkmanager"
"wheel" "wheel"
"libvirtd" "libvirtd"
"dialout" "dialout"
"tty" "tty"
"uucp" "uucp"
"plugdev" "plugdev"
"docker" "docker"
"adbusers" "adbusers"
]; ];
shell = pkgs.zsh; shell = pkgs.zsh;
# ------------------------------------------------------ # ------------------------------------------------------
# user packages # user packages
packages = with pkgs; [ packages = with pkgs; [
# browsers # browsers
librewolf librewolf
ungoogled-chromium ungoogled-chromium
tor-browser-bundle-bin tor-browser-bundle-bin
# social media # social media
discord discord
signal-desktop signal-desktop
godot_4 godot_4
# command line tools # command line tools
neofetch neofetch
lolcat lolcat
figlet figlet
cowsay cowsay
cmatrix cmatrix
btop btop
htop htop
tmux tmux
asciiquarium asciiquarium
pipes pipes
tldr tldr
ranger ranger
nmap nmap
busybox busybox
tcpdump tcpdump
onefetch # neofetch for git repositories onefetch # neofetch for git repositories
catimg catimg
hollywood hollywood
efibootmgr efibootmgr
# less like program for listing a file with colors lazygit
# used as a replacement pager for colored man pages lazydocker
lazygit pandoc
lazydocker yt-dlp
pandoc fzf
yt-dlp nyancat
fzf hexedit
nyancat unzip
hexedit fd
unzip wget
fd gzip
wget ripgrep
gzip
ripgrep
lua lua
okteta okteta
kate kate
keepassxc keepassxc
vlc vlc
mpv mpv
inkscape inkscape
krita krita
gmic-qt gmic-qt
libreoffice-qt libreoffice-qt
libsForQt5.kcalc libsForQt5.kcalc
libsForQt5.ark libsForQt5.ark
libsForQt5.ksystemlog libsForQt5.ksystemlog
libsForQt5.kcharselect libsForQt5.kcharselect
libsForQt5.kget libsForQt5.kget
libsForQt5.kclock libsForQt5.kclock
libsForQt5.breeze-gtk libsForQt5.breeze-gtk
libsForQt5.kpmcore libsForQt5.kpmcore
libsForQt5.kdenlive libsForQt5.kdenlive
libsForQt5.breeze-gtk libsForQt5.breeze-gtk
libsForQt5.kweather libsForQt5.kweather
libsForQt5.kompare libsForQt5.kompare
libsForQt5.skanpage libsForQt5.skanpage
isoimagewriter isoimagewriter
blender blender
obs-studio obs-studio
tor tor
xournalpp xournalpp
jetbrains-toolbox jetbrains-toolbox
# Clipboard support for Wayland Session # Clipboard support for Wayland Session
# used by Vim/Neovim and etc. # used by Vim/Neovim and etc.
wl-clipboard wl-clipboard
chroma # general purpose syntax highlighter (for ohmyzsh/colorize) chroma # general purpose syntax highlighter (for ohmyzsh/colorize)
fzf fzf
thefuck thefuck
];
};
# ------------------------------------------------------
# _ _
# | | | | ___ _ __ ___ ___ _ __ ___ __ _ _ __ __ _ __ _ ___ _ __
# | |_| |/ _ \| '_ ` _ \ / _ \ '_ ` _ \ / _` | '_ \ / _` |/ _` |/ _ \ '__|
# | _ | (_) | | | | | | __/ | | | | | (_| | | | | (_| | (_| | __/ |
# |_| |_|\___/|_| |_| |_|\___|_| |_| |_|\__,_|_| |_|\__,_|\__, |\___|_|
# |___/
home-manager.users.servostar = {
home = {
stateVersion = "23.11";
sessionVariables = {
EDITOR = "nvim"; # overwrite editor
};
};
programs.vscode = {
enable = true;
package = pkgs.vscodium;
extensions = with pkgs.vscode-extensions; [
james-yu.latex-workshop
jnoortheen.nix-ide
pkief.material-icon-theme
rust-lang.rust-analyzer
bungcip.better-toml
mhutchie.git-graph
ms-azuretools.vscode-docker
ms-python.python
twxs.cmake
ms-python.vscode-pylance
];
};
programs.kitty = {
enable = true;
};
# ------------------------------------------------------
# Config files
xdg.configFile."VSCodium/User/settings.json".source = config/settings.json; # VSCodium settings
xdg.configFile."aacs/KEYDB.cfg".source = config/keydb.cfg; # key database for blueray decryption
# kitty configuration
xdg.configFile."kitty/kitty.conf".source = config/kitty/kitty.conf;
xdg.configFile."kitty/tokyonight.conf".source = config/kitty/tokyonight.conf;
# ------------------------------------------------------
# Fish shell
programs.fish = {
enable = true;
interactiveShellInit = ''
set fish_greeting # Disable greeting
'';
plugins = [
{
name = "fzf-fish";
src = pkgs.fishPlugins.fzf-fish.src;
}
{
name = "forgit";
src = pkgs.fishPlugins.forgit.src;
}
{
name = "grc";
src = pkgs.fishPlugins.grc.src;
}
{
name = "done";
src = pkgs.fishPlugins.done.src;
}
{
name = "autopair";
src = pkgs.fishPlugins.autopair.src;
}
]; ];
}; };
programs.zsh = { home-manager.users.servostar = {
enable = true; home = {
shellAliases = { }; stateVersion = "23.11";
oh-my-zsh = { sessionVariables = {
EDITOR = "nvim"; # overwrite editor
};
};
programs.vscode = {
enable = true; enable = true;
plugins = [ package = pkgs.vscodium;
"git" extensions = with pkgs.vscode-extensions; [
"thefuck" james-yu.latex-workshop
"colored-man-pages" jnoortheen.nix-ide
"colorize" pkief.material-icon-theme
"command-not-found" rust-lang.rust-analyzer
"docker" bungcip.better-toml
"docker-compose" mhutchie.git-graph
"fzf" ms-azuretools.vscode-docker
ms-python.python
twxs.cmake
ms-python.vscode-pylance
]; ];
theme = "robbyrussell";
}; };
enableAutosuggestions = true; programs.kitty = {
syntaxHighlighting = {
enable = true; enable = true;
}; };
autocd = true;
defaultKeymap = "emacs";
};
programs.starship = { # ------------------------------------------------------
enable = true; # Config files
enableZshIntegration = true; xdg.configFile."VSCodium/User/settings.json".source = config/settings.json; # VSCodium settings
}; xdg.configFile."aacs/KEYDB.cfg".source = config/keydb.cfg; # key database for blueray decryption
# kitty configuration
xdg.configFile."kitty/kitty.conf".source = config/kitty/kitty.conf;
xdg.configFile."kitty/tokyonight.conf".source = config/kitty/tokyonight.conf;
programs.eza = { programs.zsh = {
enable = true; enable = true;
enableAliases = true; shellAliases = { };
git = true; oh-my-zsh = {
icons = true; enable = true;
}; plugins = [
"git"
"thefuck"
"colored-man-pages"
"colorize"
"command-not-found"
"docker"
"docker-compose"
"fzf"
];
theme = "robbyrussell";
};
enableAutosuggestions = true;
syntaxHighlighting = {
enable = true;
};
autocd = true;
defaultKeymap = "emacs";
};
# ------------------------------------------------------ programs.starship = {
# git enable = true;
programs.git = { enableZshIntegration = true;
enable = true; };
userName = "servostar";
userEmail = "sven.vogel123@web.de"; programs.eza = {
lfs.enable = true; enable = true;
enableAliases = true;
git = true;
icons = true;
};
# ------------------------------------------------------
# git
programs.git = {
enable = true;
userName = "servostar";
userEmail = "sven.vogel123@web.de";
lfs.enable = true;
};
programs.command-not-found.enable = true;
programs.neovim = {
enable = true;
viAlias = true;
vimAlias = true;
};
}; };
programs.command-not-found.enable = true;
programs.neovim = {
enable = true;
viAlias = true;
vimAlias = true;
};
};
} }