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 = {
# support for GPUs
amdgpu = false;
intelgpu = true;
amdgpu = true;
intelgpu = false;
nvidiagpu = false;
bluetooth = true;

View File

@ -1,200 +1,250 @@
{ pkgs, config, ... }:
{
# ======================================================
# _ _
# | | | |___ ___ _ __
# | | | / __|/ _ \ '__|
# | |_| \__ \ __/ |
# \___/|___/\___|_|
#
# Configuration for user servostar
programs.zsh.enable = true;
# Define a user account. Don't forget to set a password with passwd.
users.users.servostar = {
isNormalUser = true;
description = "adminstrator";
# member groups for this user
extraGroups = [
"networkmanager"
"wheel"
"libvirtd"
"dialout"
"tty"
"uucp"
"plugdev"
"docker"
"adbusers"
];
# Define a user account. Don't forget to set a password with passwd.
users.users.servostar = {
isNormalUser = true;
description = "adminstrator";
# member groups for this user
extraGroups = [
"networkmanager"
"wheel"
"libvirtd"
"dialout"
"tty"
"uucp"
"plugdev"
"docker"
"adbusers"
];
shell = pkgs.zsh;
shell = pkgs.zsh;
# ------------------------------------------------------
# user packages
# ------------------------------------------------------
# user packages
packages = with pkgs; [
# browsers
librewolf
ungoogled-chromium
tor-browser-bundle-bin
packages = with pkgs; [
# browsers
librewolf
ungoogled-chromium
tor-browser-bundle-bin
# social media
discord
signal-desktop
# social media
discord
signal-desktop
godot_4
godot_4
# command line tools
neofetch
lolcat
figlet
cowsay
cmatrix
btop
htop
tmux
asciiquarium
pipes
tldr
ranger
nmap
busybox
tcpdump
onefetch # neofetch for git repositories
catimg
hollywood
efibootmgr
lazygit
lazydocker
pandoc
yt-dlp
fzf
nyancat
hexedit
unzip
fd
wget
gzip
ripgrep
# command line tools
neofetch
lolcat
figlet
cowsay
cmatrix
btop
htop
tmux
asciiquarium
pipes
tldr
ranger
nmap
busybox
tcpdump
onefetch # neofetch for git repositories
catimg
hollywood
efibootmgr
# less like program for listing a file with colors
# used as a replacement pager for colored man pages
lazygit
lazydocker
pandoc
yt-dlp
fzf
nyancat
hexedit
unzip
fd
wget
gzip
ripgrep
lua
okteta
kate
keepassxc
vlc
mpv
inkscape
krita
gmic-qt
libreoffice-qt
libsForQt5.kcalc
libsForQt5.ark
libsForQt5.ksystemlog
libsForQt5.kcharselect
libsForQt5.kget
libsForQt5.kclock
libsForQt5.breeze-gtk
libsForQt5.kpmcore
libsForQt5.kdenlive
libsForQt5.breeze-gtk
libsForQt5.kweather
libsForQt5.kompare
libsForQt5.skanpage
isoimagewriter
blender
obs-studio
tor
xournalpp
lua
okteta
kate
keepassxc
vlc
mpv
inkscape
krita
gmic-qt
libreoffice-qt
libsForQt5.kcalc
libsForQt5.ark
libsForQt5.ksystemlog
libsForQt5.kcharselect
libsForQt5.kget
libsForQt5.kclock
libsForQt5.breeze-gtk
libsForQt5.kpmcore
libsForQt5.kdenlive
libsForQt5.breeze-gtk
libsForQt5.kweather
libsForQt5.kompare
libsForQt5.skanpage
isoimagewriter
blender
obs-studio
tor
xournalpp
jetbrains-toolbox
jetbrains-toolbox
# Clipboard support for Wayland Session
# used by Vim/Neovim and etc.
wl-clipboard
# Clipboard support for Wayland Session
# used by Vim/Neovim and etc.
wl-clipboard
chroma # general purpose syntax highlighter (for ohmyzsh/colorize)
fzf
thefuck
chroma # general purpose syntax highlighter (for ohmyzsh/colorize)
fzf
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 = {
home = {
stateVersion = "23.11";
sessionVariables = {
EDITOR = "nvim"; # overwrite editor
};
};
programs.vscode = {
programs.zsh = {
enable = true;
shellAliases = { };
oh-my-zsh = {
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
plugins = [
"git"
"thefuck"
"colored-man-pages"
"colorize"
"command-not-found"
"docker"
"docker-compose"
"fzf"
];
theme = "robbyrussell";
};
programs.kitty = {
enableAutosuggestions = true;
syntaxHighlighting = {
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;
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;
};
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;
};
};
}