Compare commits

..

No commits in common. "5091d0380eabcd4cc905bdee7cad31c112f8ec53" and "839f2c699128f1fd961f4b87b87149b45c762f48" have entirely different histories.

2 changed files with 228 additions and 178 deletions

View File

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

View File

@ -1,200 +1,250 @@
{ 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
lazygit # less like program for listing a file with colors
lazydocker # used as a replacement pager for colored man pages
pandoc lazygit
yt-dlp lazydocker
fzf pandoc
nyancat yt-dlp
hexedit fzf
unzip nyancat
fd hexedit
wget unzip
gzip fd
ripgrep wget
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;
}
]; ];
}; };
home-manager.users.servostar = { programs.zsh = {
home = { enable = true;
stateVersion = "23.11"; shellAliases = { };
sessionVariables = { oh-my-zsh = {
EDITOR = "nvim"; # overwrite editor
};
};
programs.vscode = {
enable = true; enable = true;
package = pkgs.vscodium; plugins = [
extensions = with pkgs.vscode-extensions; [ "git"
james-yu.latex-workshop "thefuck"
jnoortheen.nix-ide "colored-man-pages"
pkief.material-icon-theme "colorize"
rust-lang.rust-analyzer "command-not-found"
bungcip.better-toml "docker"
mhutchie.git-graph "docker-compose"
ms-azuretools.vscode-docker "fzf"
ms-python.python
twxs.cmake
ms-python.vscode-pylance
]; ];
theme = "robbyrussell";
}; };
programs.kitty = { enableAutosuggestions = true;
syntaxHighlighting = {
enable = true; enable = true;
}; };
autocd = true;
# ------------------------------------------------------ defaultKeymap = "emacs";
# 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;
programs.zsh = {
enable = true;
shellAliases = { };
oh-my-zsh = {
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 = {
enable = true;
enableZshIntegration = true;
};
programs.eza = {
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.starship = {
enable = true;
enableZshIntegration = true;
};
programs.eza = {
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;
};
};
} }