feat: introduce treefmt and fmt all

This commit is contained in:
steveej 2024-11-15 10:17:56 +01:00
parent 80250b0179
commit 27c6c4f9fa
237 changed files with 5440 additions and 5214 deletions

View file

@ -1,8 +1,5 @@
{ pkgs, lib, ... }:
{
pkgs,
lib,
...
}: {
home.stateVersion = lib.mkDefault "23.11";
# TODO: re-enable this with the appropriate version?
@ -15,7 +12,8 @@
allowUnfree = true;
allowUnsupportedSystem = true;
allowInsecurePredicate = pkg:
allowInsecurePredicate =
pkg:
builtins.elem (lib.getName pkg) [
"electron-28.3.3"
"electron-27.3.11"
@ -28,7 +26,8 @@
"electron"
];
allowUnfreePredicate = pkg:
allowUnfreePredicate =
pkg:
builtins.elem (lib.getName pkg) [
"obsidian"
"vivaldi"
@ -56,47 +55,45 @@
programs.command-not-found.enable = true;
programs.fzf.enable = true;
home.packages =
[]
++ (with pkgs; [
coreutils
home.packages = with pkgs; [
coreutils
vcsh
vcsh
htop
iperf3
nethogs
htop
iperf3
nethogs
# Authentication
cacert
openssl
mkpasswd
# Authentication
cacert
openssl
mkpasswd
just
ripgrep
du-dust
just
ripgrep
du-dust
elfutils
exfat
file
tree
pwgen
proot
elfutils
exfat
file
tree
pwgen
proot
parted
pv
tmux
wget
curl
parted
pv
tmux
wget
curl
# git helpers
git-crypt
gitFull
pastebinit
gist
mr
# git helpers
git-crypt
gitFull
pastebinit
gist
mr
usbutils
pciutils
]);
usbutils
pciutils
];
}