chore: switch to nixfmt-rfc-style

This commit is contained in:
Youwen Wu 2024-09-02 18:16:22 -07:00
parent 90f6446f5f
commit 523a59f2b3
Signed by: youwen
GPG key ID: 865658ED1FE61EC3
41 changed files with 362 additions and 167 deletions

View file

@ -7,7 +7,8 @@
pkgs,
lib,
...
}: {
}:
{
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix
@ -65,7 +66,9 @@
LC_TIME = "en_US.UTF-8";
};
systemd.services = {NetworkManager-wait-online.enable = false;};
systemd.services = {
NetworkManager-wait-online.enable = false;
};
# Enable the X11 windowing system.
# You can disable this if you're only using the Wayland session.
@ -73,7 +76,11 @@
programs.nix-ld = {
enable = true;
libraries = with pkgs; [icu xorg.libXtst xorg.libXi];
libraries = with pkgs; [
icu
xorg.libXtst
xorg.libXi
];
};
hardware.nvidia = {
@ -95,7 +102,7 @@
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.stable;
services.xserver.videoDrivers = ["nvidia"];
services.xserver.videoDrivers = [ "nvidia" ];
services.flatpak.enable = true;
@ -117,12 +124,18 @@
users.users.youwen = {
isNormalUser = true;
description = "Youwen Wu";
extraGroups = ["networkmanager"];
extraGroups = [ "networkmanager" ];
};
nix.settings = {
trusted-users = ["root" "youwen"];
experimental-features = ["nix-command" "flakes"];
trusted-users = [
"root"
"youwen"
];
experimental-features = [
"nix-command"
"flakes"
];
};
services.udev.extraRules = ''