mirror of
https://git.lgmrszd.xyz/Lgmrszd/nix-cfg.git
synced 2025-12-17 08:58:19 +01:00
Initial commit (current config)
This commit is contained in:
commit
b68ac28949
8 changed files with 744 additions and 0 deletions
208
home.nix
Normal file
208
home.nix
Normal file
|
|
@ -0,0 +1,208 @@
|
|||
{ config, pkgs, pkgs-stable, ... }:
|
||||
|
||||
{
|
||||
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; [
|
||||
wineWowPackages.waylandFull
|
||||
# web
|
||||
firefox
|
||||
# security
|
||||
keepassxc
|
||||
onlykey
|
||||
onlykey-agent
|
||||
libsForQt5.plasma-vault
|
||||
gpgme.dev # For mainvelope
|
||||
|
||||
neofetch
|
||||
libsForQt5.yakuake
|
||||
libsForQt5.kgpg
|
||||
|
||||
# messaging
|
||||
(discord.override {
|
||||
withOpenASAR = true;
|
||||
withVencord = true;
|
||||
})
|
||||
telegram-desktop
|
||||
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
|
||||
lutris
|
||||
# dev
|
||||
jetbrains.idea-community
|
||||
# vscodium # see programs.vscode
|
||||
rnix-lsp
|
||||
#nnn # terminal file manager
|
||||
|
||||
# archives
|
||||
# zip
|
||||
# xz
|
||||
# unzip
|
||||
# p7zip
|
||||
|
||||
# utils
|
||||
appimage-run
|
||||
kate
|
||||
ncdu
|
||||
btdu
|
||||
compsize
|
||||
# ripgrep # recursively searches directories for a regex pattern
|
||||
jq # A lightweight and flexible command-line JSON processor
|
||||
# yq-go # yaml processer https://github.com/mikefarah/yq
|
||||
# exa # A modern replacement for ‘ls’
|
||||
|
||||
# networking tools
|
||||
# mtr # A network diagnostic tool
|
||||
# iperf3
|
||||
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
|
||||
# ipcalc # it is a calculator for the IPv4/v6 addresses
|
||||
|
||||
# etc
|
||||
vlc
|
||||
qbittorrent
|
||||
libsForQt5.qtstyleplugin-kvantum
|
||||
# misc
|
||||
cowsay
|
||||
# file
|
||||
# which
|
||||
tree
|
||||
# gnused
|
||||
# gnutar
|
||||
# gawk
|
||||
# zstd
|
||||
gnupg
|
||||
# pinentry
|
||||
|
||||
# nix related
|
||||
#
|
||||
# it provides the command `nom` works just like `nix`
|
||||
# with more details log output
|
||||
nix-output-monitor
|
||||
|
||||
# productivity
|
||||
# hugo # static site generator
|
||||
glow # markdown previewer in terminal
|
||||
#
|
||||
# btop # replacement of htop/nmon
|
||||
# iotop # io monitoring
|
||||
# iftop # network monitoring
|
||||
#
|
||||
# # system call monitoring
|
||||
# strace # system call monitoring
|
||||
# ltrace # library call monitoring
|
||||
lsof # list open files
|
||||
|
||||
# system tools
|
||||
file
|
||||
# sysstat
|
||||
lm_sensors # for `sensors` command
|
||||
# ethtool
|
||||
pciutils # lspci
|
||||
usbutils # lsusb
|
||||
# android-tools
|
||||
|
||||
monero-gui
|
||||
];
|
||||
|
||||
services.nextcloud-client = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
delta.enable = true;
|
||||
signing = {
|
||||
signByDefault = true;
|
||||
key = "D3067BE844D3FC49535A47B29396B8BA6FBB14DE";
|
||||
};
|
||||
userName = "Lgmrszd";
|
||||
userEmail = "lgmrszd@disroot.org";
|
||||
};
|
||||
|
||||
programs.thunderbird = {
|
||||
enable = true;
|
||||
package = pkgs.thunderbird;
|
||||
profiles.lgmrszd.isDefault = true;
|
||||
};
|
||||
|
||||
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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue