chore: formatting pt.2

for some reason one file was not owned by gid=100 so treefmt just
stopped and didn't process more files.

+4 -3
users/cassie/default.nix
···
-
{...}: {
users.users.cassie = {
isNormalUser = true;
-
extraGroups = ["wheel"];
openssh = {
-
authorizedKeys.keyFiles = [../../creds/ssh/users/cassie];
};
};
···
+
{ ... }:
+
{
users.users.cassie = {
isNormalUser = true;
+
extraGroups = [ "wheel" ];
openssh = {
+
authorizedKeys.keyFiles = [ ../../creds/ssh/users/cassie ];
};
};
+2 -1
users/cassie/home/default.nix
···
-
{...}: {
imports = [
./dev
./path.nix
···
+
{ ... }:
+
{
imports = [
./dev
./path.nix
+2 -1
users/cassie/home/dev/default.nix
···
-
{pkgs, ...}: {
imports = [
./git.nix
./ssh.nix
···
+
{ pkgs, ... }:
+
{
imports = [
./git.nix
./ssh.nix
+1 -1
users/cassie/home/dev/editors.nix
···
buffer_font_size = 16;
buffer_font_family = "Cascadia Code";
preferred_line_length = 120;
-
wrap_guides = [120];
show_whitespaces = "all";
indent_guides = {
enabled = true;
···
buffer_font_size = 16;
buffer_font_family = "Cascadia Code";
preferred_line_length = 120;
+
wrap_guides = [ 120 ];
show_whitespaces = "all";
indent_guides = {
enabled = true;
+2 -1
users/cassie/home/dev/git.nix
···
traits,
inputs,
...
-
}: {
programs.git = lib.mkMerge [
{
enable = true;
···
traits,
inputs,
...
+
}:
+
{
programs.git = lib.mkMerge [
{
enable = true;
+2 -1
users/cassie/home/dev/ssh.nix
···
-
{...}: {
programs.ssh = {
enable = true;
hashKnownHosts = true;
···
+
{ ... }:
+
{
programs.ssh = {
enable = true;
hashKnownHosts = true;
+2 -1
users/cassie/home/extras.nix
···
traits,
lib,
...
-
}: {
home.packages = lib.mkIf traits.gui [
pkgs.wl-clipboard
# pkgs.logseq
···
traits,
lib,
...
+
}:
+
{
home.packages = lib.mkIf traits.gui [
pkgs.wl-clipboard
# pkgs.logseq
+2 -1
users/cassie/home/eyecandy.nix
···
-
{...}: {
programs.eza = {
enable = true;
icons = "auto";
···
+
{ ... }:
+
{
programs.eza = {
enable = true;
icons = "auto";
+2 -1
users/cassie/home/path.nix
···
-
{...}: {
home.sessionPath = [
"$HOME/.cargo/bin/"
];
···
+
{ ... }:
+
{
home.sessionPath = [
"$HOME/.cargo/bin/"
];
+2 -1
users/cassie/home/shell.nix
···
-
{...}: {
programs.atuin = {
enable = true;
daemon.enable = true;
···
+
{ ... }:
+
{
programs.atuin = {
enable = true;
daemon.enable = true;
+2 -2
users/cassie/home/virt.nix
···
lib.mkIf traits.gui {
# this complements **/*/virt.nix in nixos modules.
dconf.settings."org/virt-manager/virt-manager/connections" = {
-
autoconnect = ["qemu:///system"];
-
uris = ["qemu:///system"];
};
}
···
lib.mkIf traits.gui {
# this complements **/*/virt.nix in nixos modules.
dconf.settings."org/virt-manager/virt-manager/connections" = {
+
autoconnect = [ "qemu:///system" ];
+
uris = [ "qemu:///system" ];
};
}
+2 -1
users/default.nix
···
-
{...}: {
imports = [
./cassie
./_tester.nix
···
+
{ ... }:
+
{
imports = [
./cassie
./_tester.nix
+4 -3
utils/build-yaml.nix
···
{
name,
content,
-
}: let
-
pkgs = import <nixpkgs> {}; # uses builtins.currentSystem
in
-
pkgs.writeText name (builtins.toJSON content)
···
{
name,
content,
+
}:
+
let
+
pkgs = import <nixpkgs> { }; # uses builtins.currentSystem
in
+
pkgs.writeText name (builtins.toJSON content)
+2 -2
vendor/brcmfmac/default.nix
···
name = "brcm-mac-firmware";
src = fetchzip {
-
nativeBuildInputs = [zstd];
stripRoot = false;
url = "https://mirror.funami.tech/arch-mact2/os/x86_64/apple-bcm-firmware-14.0-1-any.pkg.tar.zst";
hash = "sha256-7HFXStpTkBG8wujsO8OTm5x+h17mqRiGSrS/Srv49Yg=";
···
meta = {
description = "Collection of Wi-Fi and Bluetooth firmware files for Apple Mac devices.";
license = lib.licenses.unfree;
-
maintainers = with lib.maintainers; [soopyc];
platforms = lib.platforms.linux;
};
})
···
name = "brcm-mac-firmware";
src = fetchzip {
+
nativeBuildInputs = [ zstd ];
stripRoot = false;
url = "https://mirror.funami.tech/arch-mact2/os/x86_64/apple-bcm-firmware-14.0-1-any.pkg.tar.zst";
hash = "sha256-7HFXStpTkBG8wujsO8OTm5x+h17mqRiGSrS/Srv49Yg=";
···
meta = {
description = "Collection of Wi-Fi and Bluetooth firmware files for Apple Mac devices.";
license = lib.licenses.unfree;
+
maintainers = with lib.maintainers; [ soopyc ];
platforms = lib.platforms.linux;
};
})