Refactoring
This commit is contained in:
parent
23fa2928d7
commit
3a90b4b3f6
9 changed files with 475 additions and 428 deletions
|
@ -7,80 +7,125 @@
|
|||
pkgs,
|
||||
myhostname,
|
||||
...
|
||||
}: {
|
||||
}:
|
||||
{
|
||||
|
||||
services.pcscd.enable = true;
|
||||
programs.gnupg.agent = {
|
||||
enable = true;
|
||||
enableSSHSupport = true;
|
||||
};
|
||||
services.pcscd.enable = true;
|
||||
programs.gnupg.agent = {
|
||||
enable = true;
|
||||
enableSSHSupport = true;
|
||||
};
|
||||
|
||||
programs.nh = {
|
||||
enable = true;
|
||||
clean.enable = true;
|
||||
clean.extraArgs = "--keep-since 4d --keep 3";
|
||||
flake = "/home/fw/nix";
|
||||
};
|
||||
programs.nh = {
|
||||
enable = true;
|
||||
clean.enable = true;
|
||||
clean.extraArgs = "--keep-since 4d --keep 3";
|
||||
flake = "/home/fw/nix";
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
# Build
|
||||
just
|
||||
|
||||
# System
|
||||
libnotify
|
||||
lf
|
||||
xsel
|
||||
xbanish
|
||||
unzip
|
||||
zip
|
||||
wget
|
||||
alsa-utils
|
||||
htop
|
||||
procps
|
||||
fzf
|
||||
eza
|
||||
btop
|
||||
xclip
|
||||
dysk
|
||||
rsync
|
||||
procs
|
||||
dust
|
||||
brightnessctl
|
||||
lolcat
|
||||
fortune
|
||||
cowsay
|
||||
ripgrep
|
||||
poppler_utils
|
||||
grc
|
||||
pkg-config
|
||||
vim
|
||||
bat
|
||||
fd
|
||||
bluez
|
||||
bluez-tools
|
||||
openssl
|
||||
imagemagick
|
||||
pandoc
|
||||
texliveFull
|
||||
fastfetch
|
||||
keyutils
|
||||
pinentry-all
|
||||
(pass.withExtensions (
|
||||
ext: with ext; [
|
||||
pass-import
|
||||
pass-genphrase
|
||||
pass-update
|
||||
]
|
||||
))
|
||||
lazygit
|
||||
chawan
|
||||
go-passbolt-cli
|
||||
waypipe
|
||||
wl-clipboard
|
||||
smartmontools
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
# System
|
||||
libnotify
|
||||
lf
|
||||
xsel
|
||||
xbanish
|
||||
unzip
|
||||
zip
|
||||
wget
|
||||
alsa-utils
|
||||
htop
|
||||
procps
|
||||
fzf
|
||||
eza
|
||||
btop
|
||||
xclip
|
||||
dysk
|
||||
rsync
|
||||
procs
|
||||
dust
|
||||
brightnessctl
|
||||
lolcat
|
||||
fortune
|
||||
cowsay
|
||||
ripgrep
|
||||
poppler_utils
|
||||
grc
|
||||
pkg-config
|
||||
vim
|
||||
bat
|
||||
fd
|
||||
bluez
|
||||
bluez-tools
|
||||
openssl
|
||||
imagemagick
|
||||
pandoc
|
||||
texliveFull
|
||||
fastfetch
|
||||
keyutils
|
||||
pinentry-all
|
||||
(pass.withExtensions (ext: with ext; [
|
||||
pass-import
|
||||
pass-genphrase
|
||||
pass-update
|
||||
]))
|
||||
lazygit
|
||||
chawan
|
||||
go-passbolt-cli
|
||||
waypipe
|
||||
wl-clipboard
|
||||
smartmontools
|
||||
# Typesetting
|
||||
typst
|
||||
typstyle
|
||||
tinymist
|
||||
websocat
|
||||
nix-search-cli
|
||||
libsixel
|
||||
|
||||
# Typesetting
|
||||
typst
|
||||
typstyle
|
||||
tinymist
|
||||
websocat
|
||||
nix-search-cli
|
||||
libsixel
|
||||
];
|
||||
# system call monitoring
|
||||
strace # system call monitoring
|
||||
ltrace # library call monitoring
|
||||
lsof # list open files
|
||||
|
||||
# system tools
|
||||
sysstat
|
||||
lm_sensors # for `sensors` command
|
||||
ethtool
|
||||
pciutils # lspci
|
||||
usbutils # lsusb
|
||||
|
||||
(
|
||||
let
|
||||
base = pkgs.appimageTools.defaultFhsEnvArgs;
|
||||
in
|
||||
pkgs.buildFHSUserEnv (
|
||||
base
|
||||
// {
|
||||
name = "fhs";
|
||||
targetPkgs =
|
||||
pkgs:
|
||||
# pkgs.buildFHSUserEnv provides only a minimal FHS environment,
|
||||
# lacking many basic packages needed by most software.
|
||||
# Therefore, we need to add them manually.
|
||||
#
|
||||
# pkgs.appimageTools provides basic packages required by most software.
|
||||
(base.targetPkgs pkgs)
|
||||
++ (with pkgs; [
|
||||
pkg-config
|
||||
ncurses
|
||||
# Feel free to add more packages here if needed.
|
||||
]);
|
||||
profile = "export FHS=1";
|
||||
runScript = "bash";
|
||||
extraOutputsToInstall = [ "dev" ];
|
||||
}
|
||||
)
|
||||
)
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue