treewide: format with nixfmt
This commit is contained in:
parent
303e982a8e
commit
26ad72592a
47 changed files with 380 additions and 725 deletions
|
@ -1,5 +1,4 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
{ pkgs, ... }: {
|
||||
security.rtkit.enable = true;
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
|
@ -8,7 +7,5 @@
|
|||
pulse.enable = true;
|
||||
wireplumber.enable = true;
|
||||
};
|
||||
environment.systemPackages = with pkgs; [
|
||||
pavucontrol
|
||||
];
|
||||
environment.systemPackages = with pkgs; [ pavucontrol ];
|
||||
}
|
||||
|
|
|
@ -1,6 +1 @@
|
|||
{ ... }:
|
||||
{
|
||||
hardware.bluetooth = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
||||
{ ... }: { hardware.bluetooth = { enable = true; }; }
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
{ ... }:
|
||||
{
|
||||
{ ... }: {
|
||||
services.printing.enable = true;
|
||||
|
||||
services.avahi = {
|
||||
|
|
|
@ -1,6 +1 @@
|
|||
{ ... }:
|
||||
{
|
||||
services.tailscale = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
||||
{ ... }: { services.tailscale = { enable = true; }; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue