diff --git a/systems/aarch64-linux/macbook-pro-nixos/hardware-configuration.nix b/systems/aarch64-linux/macbook-pro-nixos/hardware-configuration.nix index dfdef41..165c4ee 100644 --- a/systems/aarch64-linux/macbook-pro-nixos/hardware-configuration.nix +++ b/systems/aarch64-linux/macbook-pro-nixos/hardware-configuration.nix @@ -8,9 +8,9 @@ }: { - imports = - [ (modulesPath + "/installer/scan/not-detected.nix") - ]; + imports = [ + (modulesPath + "/installer/scan/not-detected.nix") + ]; boot.initrd.availableKernelModules = [ "usb_storage" @@ -20,47 +20,50 @@ boot.kernelModules = [ ]; boot.extraModulePackages = [ ]; - fileSystems."/" = - { device = "none"; - fsType = "tmpfs"; - options = [ "mode=755" ]; - }; + fileSystems."/" = { + device = "none"; + fsType = "tmpfs"; + options = [ "mode=755" ]; + }; - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/E66E-1A03"; - fsType = "vfat"; - options = [ "fmask=0022" "dmask=0022" ]; - }; + fileSystems."/boot" = { + device = "/dev/disk/by-uuid/E66E-1A03"; + fsType = "vfat"; + options = [ + "fmask=0022" + "dmask=0022" + ]; + }; - fileSystems."/root" = - { device = "/dev/disk/by-uuid/335f1bb3-6fdb-474e-972c-77b64e930d03"; - fsType = "btrfs"; - options = [ "subvol=root" ]; - }; + fileSystems."/root" = { + device = "/dev/disk/by-uuid/335f1bb3-6fdb-474e-972c-77b64e930d03"; + fsType = "btrfs"; + options = [ "subvol=root" ]; + }; - fileSystems."/etc" = - { device = "/dev/disk/by-uuid/335f1bb3-6fdb-474e-972c-77b64e930d03"; - fsType = "btrfs"; - options = [ "subvol=etc" ]; - }; + fileSystems."/etc" = { + device = "/dev/disk/by-uuid/335f1bb3-6fdb-474e-972c-77b64e930d03"; + fsType = "btrfs"; + options = [ "subvol=etc" ]; + }; - fileSystems."/nix" = - { device = "/dev/disk/by-uuid/335f1bb3-6fdb-474e-972c-77b64e930d03"; - fsType = "btrfs"; - options = [ "subvol=nix" ]; - }; + fileSystems."/nix" = { + device = "/dev/disk/by-uuid/335f1bb3-6fdb-474e-972c-77b64e930d03"; + fsType = "btrfs"; + options = [ "subvol=nix" ]; + }; - fileSystems."/var/log" = - { device = "/dev/disk/by-uuid/335f1bb3-6fdb-474e-972c-77b64e930d03"; - fsType = "btrfs"; - options = [ "subvol=log" ]; - }; + fileSystems."/var/log" = { + device = "/dev/disk/by-uuid/335f1bb3-6fdb-474e-972c-77b64e930d03"; + fsType = "btrfs"; + options = [ "subvol=log" ]; + }; - fileSystems."/home" = - { device = "/dev/disk/by-uuid/335f1bb3-6fdb-474e-972c-77b64e930d03"; - fsType = "btrfs"; - options = [ "subvol=home" ]; - }; + fileSystems."/home" = { + device = "/dev/disk/by-uuid/335f1bb3-6fdb-474e-972c-77b64e930d03"; + fsType = "btrfs"; + options = [ "subvol=home" ]; + }; swapDevices = [ ]; diff --git a/systems/x86_64-linux/nas/boot.nix b/systems/x86_64-linux/nas/boot.nix index fe65c5b..d7c576d 100755 --- a/systems/x86_64-linux/nas/boot.nix +++ b/systems/x86_64-linux/nas/boot.nix @@ -1,4 +1,4 @@ -{ lib, pkgs, ... }: +{ config, lib, pkgs, ... }: let configLimit = 50; kernel = pkgs.linuxPackages; # linuxPackages_latest;