summaryrefslogtreecommitdiff
path: root/Biz/Dev/Beryllium
diff options
context:
space:
mode:
Diffstat (limited to 'Biz/Dev/Beryllium')
-rw-r--r--Biz/Dev/Beryllium/Configuration.nix13
-rw-r--r--Biz/Dev/Beryllium/Hardware.nix26
2 files changed, 19 insertions, 20 deletions
diff --git a/Biz/Dev/Beryllium/Configuration.nix b/Biz/Dev/Beryllium/Configuration.nix
index 106f78e..b1d7f11 100644
--- a/Biz/Dev/Beryllium/Configuration.nix
+++ b/Biz/Dev/Beryllium/Configuration.nix
@@ -5,10 +5,9 @@
{ config, pkgs, ... }:
{
- imports =
- [ # Include the results of the hardware scan.
- ./Hardware.nix
- ];
+ imports = [ # Include the results of the hardware scan.
+ ./Hardware.nix
+ ];
# Bootloader.
boot.loader.systemd-boot.enable = true;
@@ -105,7 +104,7 @@
services.clight.temperature.night = 1800;
services.clight.settings.sunrise = "7:00";
services.clight.settings.sunset = "17:00";
- location.latitude = 40.80;
+ location.latitude = 40.8;
location.longitude = -81.52;
services.eternal-terminal.enable = true;
@@ -119,8 +118,8 @@
v4l-utils
linuxPackages.v4l2loopback
nvtop
- # vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
- # wget
+ # vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
+ # wget
];
# Some programs need SUID wrappers, can be configured further or are
diff --git a/Biz/Dev/Beryllium/Hardware.nix b/Biz/Dev/Beryllium/Hardware.nix
index 8c74e10..ecf425c 100644
--- a/Biz/Dev/Beryllium/Hardware.nix
+++ b/Biz/Dev/Beryllium/Hardware.nix
@@ -4,24 +4,23 @@
{ config, lib, modulesPath, ... }:
{
- imports =
- [ (modulesPath + "/installer/scan/not-detected.nix")
- ];
+ imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
- boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ];
+ boot.initrd.availableKernelModules =
+ [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
- fileSystems."/" =
- { device = "/dev/disk/by-uuid/f96eaa16-d0e2-4230-aece-131ce7b630da";
- fsType = "ext4";
- };
+ fileSystems."/" = {
+ device = "/dev/disk/by-uuid/f96eaa16-d0e2-4230-aece-131ce7b630da";
+ fsType = "ext4";
+ };
- fileSystems."/boot" =
- { device = "/dev/disk/by-uuid/A34A-6527";
- fsType = "vfat";
- };
+ fileSystems."/boot" = {
+ device = "/dev/disk/by-uuid/A34A-6527";
+ fsType = "vfat";
+ };
swapDevices = [ ];
@@ -34,5 +33,6 @@
# networking.interfaces.enp99s0.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
- hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
+ hardware.cpu.amd.updateMicrocode =
+ lib.mkDefault config.hardware.enableRedistributableFirmware;
}