Skip to content

Commit 834c455

Browse files
redyfgithub-actions[bot]
authored andcommitted
Auto lint/format
1 parent 5b335b1 commit 834c455

File tree

8 files changed

+55
-22
lines changed

8 files changed

+55
-22
lines changed

home/cli/tools/fd/default.nix

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@
33
lib,
44
config,
55
...
6-
}: {
6+
}:
7+
{
78
options = {
89
fd.enable = lib.mkEnableOption "Enable fd module";
910
};
1011
config = lib.mkIf config.fd.enable {
11-
home.packages = with pkgs; [fd];
12+
home.packages = with pkgs; [ fd ];
1213
};
1314
}

home/cli/tools/jq/default.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
lib,
33
config,
44
...
5-
}: {
5+
}:
6+
{
67
options = {
78
jq.enable = lib.mkEnableOption "Enable jq module";
89
};

home/cli/tools/languages/rust/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
};
1111
config = lib.mkIf config.rust.enable {
1212
home.packages = with pkgs; [
13-
rustc
13+
rustc
1414
];
1515
};
1616
}

home/cli/tools/ripgrep/default.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
lib,
33
config,
44
...
5-
}: {
5+
}:
6+
{
67
options = {
78
ripgrep.enable = lib.mkEnableOption "Enable ripgrep module";
89
};

home/desktop/waybar/og/config.nix

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,11 @@ _: {
108108
phone = "";
109109
portable = "";
110110
car = "";
111-
default = ["" "" ""];
111+
default = [
112+
""
113+
""
114+
""
115+
];
112116
};
113117
on-click = "pavucontrol";
114118
};

hosts/desktop/hardware-configuration.nix

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,24 @@
77
pkgs,
88
modulesPath,
99
...
10-
}: {
10+
}:
11+
{
1112
imports = [
1213
(modulesPath + "/installer/scan/not-detected.nix")
1314
];
1415

15-
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid" "sd_mod" "sr_mod" "rtsx_usb_sdmmc"];
16-
boot.initrd.kernelModules = [];
17-
boot.kernelModules = ["kvm-intel"];
18-
boot.extraModulePackages = [];
16+
boot.initrd.availableKernelModules = [
17+
"xhci_pci"
18+
"ahci"
19+
"nvme"
20+
"usbhid"
21+
"sd_mod"
22+
"sr_mod"
23+
"rtsx_usb_sdmmc"
24+
];
25+
boot.initrd.kernelModules = [ ];
26+
boot.kernelModules = [ "kvm-intel" ];
27+
boot.extraModulePackages = [ ];
1928

2029
fileSystems."/" = {
2130
device = "/dev/disk/by-uuid/05049773-0403-4263-820b-3d717469fa9f";
@@ -27,7 +36,7 @@
2736
fsType = "vfat";
2837
};
2938

30-
swapDevices = [];
39+
swapDevices = [ ];
3140

3241
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
3342
# (the default) this is the recommended approach. When using systemd-networkd it's

hosts/selene/hardware-configuration.nix

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,26 @@
11
# Do not modify this file! It was generated by ‘nixos-generate-config’
22
# and may be overwritten by future invocations. Please make changes
33
# to /etc/nixos/configuration.nix instead.
4-
{ config, lib, pkgs, modulesPath, ... }:
4+
{
5+
config,
6+
lib,
7+
pkgs,
8+
modulesPath,
9+
...
10+
}:
511

612
{
7-
imports =
8-
[ (modulesPath + "/profiles/qemu-guest.nix")
9-
];
13+
imports = [
14+
(modulesPath + "/profiles/qemu-guest.nix")
15+
];
1016

11-
boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "virtio_pci" "sr_mod" "virtio_blk" ];
17+
boot.initrd.availableKernelModules = [
18+
"ahci"
19+
"xhci_pci"
20+
"virtio_pci"
21+
"sr_mod"
22+
"virtio_blk"
23+
];
1224
boot.initrd.kernelModules = [ ];
1325
boot.kernelModules = [ "kvm-intel" ];
1426
boot.extraModulePackages = [ ];

pkgs/real-vnc-viewer.nix

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,8 @@
1010
stdenv.mkDerivation {
1111
name = "realvnc-viewer";
1212
src =
13-
if stdenv.isAarch64
14-
then
15-
fetchurl
16-
{
13+
if stdenv.isAarch64 then
14+
fetchurl {
1715
url = "https://downloads.realvnc.com/download/file/viewer.files/VNC-Viewer-7.12.0-Linux-ARM64";
1816
sha256 = "sha256-r/eDIwIrAO/0vyGE/zloJG/sA7tqotJQCkXtpnoO1WE=";
1917
}
@@ -23,7 +21,14 @@ stdenv.mkDerivation {
2321
sha256 = "sha256-mFWdM6kYO0LZxF0vsEn4LRBj2hgzgvUqiWDEzMfwBzE=";
2422
};
2523
dontUnpack = true;
26-
buildInputs = [xorg.libX11 xorg.libXext xorg.libSM xorg.libICE patchelf makeWrapper];
24+
buildInputs = [
25+
xorg.libX11
26+
xorg.libXext
27+
xorg.libSM
28+
xorg.libICE
29+
patchelf
30+
makeWrapper
31+
];
2732
buildPhase = ''
2833
export INTERPRETER=$(cat $NIX_CC/nix-support/dynamic-linker)
2934
echo "INTERPRETER=$INTERPRETER"

0 commit comments

Comments
 (0)