fmt: alejandra

This commit is contained in:
2025-03-24 01:13:22 -05:00
parent ae454228f6
commit 9dbe1605e0
13 changed files with 379 additions and 400 deletions

View File

@@ -1,13 +1,13 @@
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ pkgs, customPackageOverlay, ... }:
let
custom-fonts = import ../../fonts { inherit pkgs; };
in
{
pkgs,
customPackageOverlay,
...
}: let
custom-fonts = import ../../fonts {inherit pkgs;};
in {
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix
@@ -150,7 +150,7 @@ in
# Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ];
networking.firewall.allowedUDPPorts = [ 62532 ];
networking.firewall.allowedUDPPorts = [62532];
# Or disable the firewall altogether.
# networking.firewall.enable = false;
@@ -161,5 +161,4 @@ in
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "20.09"; # Did you read the comment?
}

View File

@@ -6,9 +6,7 @@
lib,
modulesPath,
...
}:
{
}: {
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
@@ -20,20 +18,19 @@
"usbhid"
"sd_mod"
];
boot.initrd.kernelModules = [ ];
boot.initrd.kernelModules = [];
boot.kernelModules = [
"kvm-intel"
"wl"
];
boot.extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ];
boot.extraModulePackages = [config.boot.kernelPackages.broadcom_sta];
fileSystems."/" = {
device = "/dev/disk/by-uuid/6d9433c6-2dab-4936-a924-d0a205381189";
fsType = "ext4";
};
boot.initrd.luks.devices."nixosroot".device =
"/dev/disk/by-uuid/3b0d4c02-d9e5-44ab-8461-30797547ed70";
boot.initrd.luks.devices."nixosroot".device = "/dev/disk/by-uuid/3b0d4c02-d9e5-44ab-8461-30797547ed70";
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/67E3-17ED";
@@ -41,7 +38,7 @@
};
swapDevices = [
{ device = "/dev/disk/by-uuid/1e0f60e9-cf43-451d-8466-81887f27c7cf"; }
{device = "/dev/disk/by-uuid/1e0f60e9-cf43-451d-8466-81887f27c7cf";}
];
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";