2023-11-24 13:22:22 +01:00
|
|
|
{ config, osConfig, secrets, pkgs, ... }:
|
2023-09-09 16:31:01 +02:00
|
|
|
|
|
|
|
{
|
|
|
|
home.username = "lgm";
|
|
|
|
home.homeDirectory = "/home/lgm";
|
|
|
|
|
|
|
|
# https://nixos-and-flakes.thiscute.world/nixos-with-flakes/start-using-home-manager
|
|
|
|
|
|
|
|
# Packages that should be installed to the user profile.
|
|
|
|
home.packages = with pkgs; [
|
2023-10-30 17:20:54 +01:00
|
|
|
# my scripts
|
|
|
|
((import ./scripts/rebuild.nix) {inherit pkgs;})
|
|
|
|
wineWowPackages.waylandFull
|
|
|
|
openconnect
|
|
|
|
# file editing
|
|
|
|
onlyoffice-bin
|
|
|
|
# theming
|
|
|
|
libsForQt5.qtstyleplugin-kvantum
|
|
|
|
# osConfig.nur.repos.baduhai.koi
|
|
|
|
(catppuccin-gtk.override {
|
|
|
|
variant = "latte";
|
|
|
|
accents = [ "yellow" ];
|
|
|
|
})
|
|
|
|
(catppuccin-kde.override {
|
|
|
|
flavour = [ "macchiato" "latte" ];
|
|
|
|
accents = [ "yellow" ];
|
|
|
|
})
|
|
|
|
(catppuccin-kvantum.override {
|
|
|
|
variant = "Latte";
|
|
|
|
accent = "Yellow";
|
|
|
|
})
|
|
|
|
(catppuccin-kvantum.override {
|
|
|
|
variant = "Macchiato";
|
|
|
|
accent = "Yellow";
|
|
|
|
})
|
|
|
|
|
|
|
|
|
2023-09-09 16:31:01 +02:00
|
|
|
# web
|
|
|
|
firefox
|
2023-10-30 17:20:54 +01:00
|
|
|
protonvpn-gui
|
|
|
|
protonvpn-cli
|
2023-09-09 16:31:01 +02:00
|
|
|
# security
|
2023-11-24 13:22:22 +01:00
|
|
|
fresh.keepassxc
|
2023-09-09 16:31:01 +02:00
|
|
|
onlykey
|
|
|
|
onlykey-agent
|
|
|
|
libsForQt5.plasma-vault
|
2023-09-09 16:56:40 +02:00
|
|
|
gpgme.dev # For mailvelope
|
2023-09-09 16:31:01 +02:00
|
|
|
|
|
|
|
neofetch
|
|
|
|
libsForQt5.yakuake
|
|
|
|
libsForQt5.kgpg
|
|
|
|
|
|
|
|
# messaging
|
2023-11-24 13:22:22 +01:00
|
|
|
(fresh.discord.override {
|
2023-09-09 16:31:01 +02:00
|
|
|
withOpenASAR = true;
|
|
|
|
})
|
2023-11-24 13:22:22 +01:00
|
|
|
fresh.vesktop
|
|
|
|
fresh.telegram-desktop
|
2023-09-09 16:31:01 +02:00
|
|
|
libsForQt5.tokodon
|
|
|
|
libsForQt5.neochat
|
|
|
|
# pkgs-unstable.cinny-desktop
|
|
|
|
# pkgs-unstable.thunderbird # see programs.thunderbird
|
|
|
|
# graphics
|
|
|
|
gimp
|
|
|
|
krita
|
|
|
|
inkscape-with-extensions
|
|
|
|
blockbench-electron
|
|
|
|
# games
|
|
|
|
prismlauncher
|
|
|
|
xonotic
|
2023-10-30 17:20:54 +01:00
|
|
|
superTux
|
|
|
|
superTuxKart
|
2023-09-09 16:31:01 +02:00
|
|
|
lutris
|
|
|
|
# dev
|
|
|
|
jetbrains.idea-community
|
2023-11-24 13:22:22 +01:00
|
|
|
packwiz
|
2023-09-09 16:31:01 +02:00
|
|
|
# vscodium # see programs.vscode
|
|
|
|
rnix-lsp
|
|
|
|
#nnn # terminal file manager
|
|
|
|
|
|
|
|
# archives
|
|
|
|
# zip
|
|
|
|
# xz
|
|
|
|
# unzip
|
|
|
|
# p7zip
|
|
|
|
|
|
|
|
# utils
|
2023-11-24 13:22:22 +01:00
|
|
|
ani-cli
|
|
|
|
yt-dlp
|
|
|
|
mosh
|
2023-09-09 16:31:01 +02:00
|
|
|
appimage-run
|
|
|
|
kate
|
|
|
|
ncdu
|
2023-09-09 16:56:40 +02:00
|
|
|
# btrfs tools
|
|
|
|
btdu # ncdu but for btrfs
|
2023-09-09 16:31:01 +02:00
|
|
|
compsize
|
2023-09-09 16:56:40 +02:00
|
|
|
|
|
|
|
ripgrep # recursively searches directories for a regex pattern
|
2023-09-09 16:31:01 +02:00
|
|
|
jq # A lightweight and flexible command-line JSON processor
|
2023-10-30 17:20:54 +01:00
|
|
|
eza
|
2023-09-09 16:31:01 +02:00
|
|
|
|
|
|
|
# networking tools
|
|
|
|
dnsutils # `dig` + `nslookup`
|
|
|
|
ldns # replacement of `dig`, it provide the command `drill`
|
|
|
|
aria2
|
|
|
|
socat # replacement of openbsd-netcat
|
|
|
|
nmap # A utility for network discovery and security auditing
|
|
|
|
|
|
|
|
# etc
|
|
|
|
vlc
|
|
|
|
qbittorrent
|
|
|
|
# misc
|
|
|
|
cowsay
|
|
|
|
# file
|
|
|
|
# which
|
|
|
|
tree
|
|
|
|
# gnused
|
|
|
|
# gnutar
|
|
|
|
# gawk
|
|
|
|
# zstd
|
|
|
|
gnupg
|
|
|
|
|
|
|
|
# nix related
|
|
|
|
nix-output-monitor
|
|
|
|
|
|
|
|
glow # markdown previewer in terminal
|
2023-09-09 16:56:40 +02:00
|
|
|
|
|
|
|
btop # replacement of htop/nmon
|
|
|
|
iotop # io monitoring
|
|
|
|
iftop # network monitoring
|
|
|
|
# system call monitoring
|
|
|
|
strace # system call monitoring
|
|
|
|
ltrace # library call monitoring
|
2023-09-09 16:31:01 +02:00
|
|
|
lsof # list open files
|
|
|
|
|
|
|
|
# system tools
|
|
|
|
file
|
|
|
|
# sysstat
|
|
|
|
lm_sensors # for `sensors` command
|
|
|
|
# ethtool
|
|
|
|
pciutils # lspci
|
|
|
|
usbutils # lsusb
|
|
|
|
# android-tools
|
|
|
|
|
|
|
|
monero-gui
|
|
|
|
];
|
|
|
|
|
2023-10-30 17:20:54 +01:00
|
|
|
# Email stuff
|
|
|
|
|
|
|
|
programs.thunderbird = {
|
|
|
|
enable = true;
|
|
|
|
package = pkgs.thunderbird;
|
|
|
|
profiles = secrets.email-stuff.thunderbirdProfiles;
|
|
|
|
};
|
|
|
|
|
|
|
|
accounts.email.accounts = secrets.email-stuff.emailAccounts;
|
|
|
|
|
|
|
|
# ---------
|
|
|
|
|
2023-09-09 16:31:01 +02:00
|
|
|
services.nextcloud-client = {
|
|
|
|
enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
programs.git = {
|
|
|
|
enable = true;
|
|
|
|
delta.enable = true;
|
|
|
|
signing = {
|
|
|
|
signByDefault = true;
|
|
|
|
key = "D3067BE844D3FC49535A47B29396B8BA6FBB14DE";
|
|
|
|
};
|
|
|
|
userName = "Lgmrszd";
|
|
|
|
userEmail = "lgmrszd@disroot.org";
|
2023-09-09 16:56:40 +02:00
|
|
|
extraConfig = {
|
|
|
|
init = {
|
|
|
|
defaultBranch = "main";
|
|
|
|
};
|
|
|
|
};
|
2023-09-09 16:31:01 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
programs.pazi = {
|
|
|
|
enable = true;
|
|
|
|
enableFishIntegration = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
programs.fzf = {
|
|
|
|
enable = true;
|
|
|
|
enableFishIntegration = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
programs.vscode = {
|
|
|
|
enable = true;
|
|
|
|
package = pkgs.vscodium;
|
|
|
|
extensions = with pkgs.vscode-extensions; [
|
|
|
|
jnoortheen.nix-ide
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
programs.starship = {
|
|
|
|
enable = true;
|
|
|
|
# custom settings
|
|
|
|
settings = {
|
|
|
|
add_newline = false;
|
|
|
|
aws.disabled = true;
|
|
|
|
gcloud.disabled = true;
|
|
|
|
# line_break.disabled = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
programs.fish = {
|
|
|
|
enable = true;
|
|
|
|
plugins = [
|
|
|
|
{
|
|
|
|
name = "forgit";
|
|
|
|
src = pkgs.fishPlugins.forgit.src;
|
|
|
|
}
|
|
|
|
{
|
|
|
|
name = "fzf";
|
|
|
|
src = pkgs.fishPlugins.fzf.src;
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
programs.bash = {
|
|
|
|
enable = true;
|
|
|
|
enableCompletion = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
# This value determines the home Manager release that your
|
|
|
|
# configuration is compatible with. This helps avoid breakage
|
|
|
|
# when a new home Manager release introduces backwards
|
|
|
|
# incompatible changes.
|
|
|
|
#
|
|
|
|
# You can update home Manager without changing this value. See
|
|
|
|
# the home Manager release notes for a list of state version
|
|
|
|
# changes in each release.
|
|
|
|
home.stateVersion = "23.05";
|
|
|
|
|
|
|
|
# Let home Manager install and manage itself.
|
|
|
|
programs.home-manager.enable = true;
|
|
|
|
}
|