Format with nixfmt
Change-Id: If9839d2c3308538ac8f3e166b69675d3b40bd7d9
diff --git a/default/configuration.nix b/default/configuration.nix
index 0a91276..a20ce60 100644
--- a/default/configuration.nix
+++ b/default/configuration.nix
@@ -36,9 +36,6 @@
# Enable the X11 windowing system.
# services.xserver.enable = true;
-
-
-
# Configure keymap in X11
# services.xserver.layout = "us";
# services.xserver.xkbOptions = {
@@ -133,7 +130,8 @@
nix.settings.experimental-features = [ "nix-command" "flakes" ];
# Open ports in the firewall.
- networking.firewall.allowedTCPPorts = [ 80 443 25 465 587 110 995 143 993 29418 ];
+ networking.firewall.allowedTCPPorts =
+ [ 80 443 25 465 587 110 995 143 993 29418 ];
# networking.firewall.allowedUDPPorts = [ ... ];
# Or disable the firewall altogether.
networking.firewall.enable = true;
@@ -141,7 +139,7 @@
# Copy the NixOS configuration file and link it from the resulting system
# (/run/current-system/configuration.nix). This is useful in case you
# accidentally delete configuration.nix.
- /* system.copySystemConfiguration = true; */
+ # system.copySystemConfiguration = true;
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
diff --git a/default/flake.nix b/default/flake.nix
index ddbaf5f..a379628 100644
--- a/default/flake.nix
+++ b/default/flake.nix
@@ -6,10 +6,8 @@
packages.x86_64-linux.hello = nixpkgs.legacyPackages.x86_64-linux.hello;
packages.x86_64-linux.nixosConfigurations.nixos =
- let
- pkgs = nixpkgs.legacyPackages.x86_64-linux;
- in
- nixpkgs.lib.nixosSystem {
+ let pkgs = nixpkgs.legacyPackages.x86_64-linux;
+ in nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
{
diff --git a/default/hardware-configuration.nix b/default/hardware-configuration.nix
index 39d8c22..799c353 100644
--- a/default/hardware-configuration.nix
+++ b/default/hardware-configuration.nix
@@ -4,22 +4,21 @@
{ config, lib, pkgs, ... }:
{
- boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "sd_mod" ];
+ boot.initrd.availableKernelModules =
+ [ "nvme" "xhci_pci" "ahci" "usbhid" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
- fileSystems."/" =
- {
- device = "/dev/disk/by-uuid/33e79acf-16a4-4263-be79-792c9432568c";
- fsType = "ext4";
- };
+ fileSystems."/" = {
+ device = "/dev/disk/by-uuid/33e79acf-16a4-4263-be79-792c9432568c";
+ fsType = "ext4";
+ };
- fileSystems."/boot" =
- {
- device = "/dev/disk/by-uuid/4EB3-743A";
- fsType = "vfat";
- };
+ fileSystems."/boot" = {
+ device = "/dev/disk/by-uuid/4EB3-743A";
+ fsType = "vfat";
+ };
swapDevices =
[{ device = "/dev/disk/by-uuid/3f3ddaa2-80c8-4915-83fe-fcec42bb877c"; }];
@@ -32,5 +31,6 @@
# networking.interfaces.enp5s0.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;
}