12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- { lib, pkgs, ... }:
- with lib;
- let
- find = "${pkgs.fd}/bin/fd -calways -uE'.git' --strip-cwd-prefix";
- in {
- i18n.defaultLocale = mkDefault "ru_RU.UTF-8";
- time.timeZone = mkDefault "Asia/Novosibirsk";
- users.defaultUserShell = pkgs.zsh;
- services = {
- fwupd.enable = mkDefault true;
- getty.helpLine = mkForce "";
- };
- systemd.tmpfiles.rules = [
- "w- /sys/kernel/mm/lru_gen/enabled - - - - y"
- "w- /sys/kernel/mm/lru_gen/min_ttl_ms - - - - 1000"
- ];
- environment = {
- localBinInPath = mkDefault true;
- pathsToLink = [ "/libexec" ];
- sessionVariables = {
- EDITOR = "vi";
- FZF_DEFAULT_COMMAND = find + " -tf";
- FZF_ALT_C_COMMAND = find + " -td";
- FZF_CTRL_T_COMMAND = find + " -tf";
- FZF_DEFAULT_OPTS = "--ansi";
- FZF_TMUX = "1";
- };
- systemPackages = with pkgs; [
- _7zz
- bfs
- binutils
- btrfs-progs
- cifs-utils
- compsize
- curl
- direnv
- dnsutils
- dua
- e2fsprogs
- efibootmgr
- exfatprogs
- fd
- file
- fzf
- git
- gptfdisk
- jq
- lsof
- ncdu
- nfs-utils
- nil
- nix-diff
- nix-direnv
- nmap
- nvd
- (hiPrio nvi)
- nvme-cli
- pciutils
- pinentry-curses
- (hiPrio procps)
- pwgen
- ripgrep
- rsync
- smartmontools
- squashfsTools
- translate-shell
- unrar
- unzip
- (hiPrio vim-with-vimrc)
- zip
- ];
- };
- }
|