treewide: format with nixfmt

This commit is contained in:
insects 2024-09-22 10:56:40 +02:00
parent 303e982a8e
commit 26ad72592a
47 changed files with 380 additions and 725 deletions

View file

@ -1,11 +1,5 @@
{ lib, pkgs, ... }:
{
imports = [
./audio.nix
./tailscale.nix
./bluetooth.nix
./printing.nix
];
{ lib, pkgs, ... }: {
imports = [ ./audio.nix ./tailscale.nix ./bluetooth.nix ./printing.nix ];
# use nix version 2.22
nix = {
@ -13,11 +7,7 @@
settings = {
auto-optimise-store = lib.mkDefault true;
experimental-features = [
"nix-command"
"flakes"
"ca-derivations"
];
experimental-features = [ "nix-command" "flakes" "ca-derivations" ];
};
};
@ -33,9 +23,7 @@
# use a tmpfs
boot.tmp.useTmpfs = true;
systemd.services.nix-daemon = {
environment.TMPDIR = "/var/tmp";
};
systemd.services.nix-daemon = { environment.TMPDIR = "/var/tmp"; };
# use fstrim for ssds
services.fstrim.enable = true;