flake: reformat with nixfmt
This commit is contained in:
parent
a79e641851
commit
eaf4f56ac0
117 changed files with 2667 additions and 1592 deletions
|
@ -1,4 +1,5 @@
|
|||
{ pkgs, ... }: {
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
./filesystems.nix
|
||||
|
@ -20,10 +21,12 @@
|
|||
|
||||
networking = {
|
||||
interfaces.eno4 = {
|
||||
ipv4.addresses = [{
|
||||
address = "128.210.6.109";
|
||||
prefixLength = 28;
|
||||
}];
|
||||
ipv4.addresses = [
|
||||
{
|
||||
address = "128.210.6.109";
|
||||
prefixLength = 28;
|
||||
}
|
||||
];
|
||||
};
|
||||
defaultGateway = {
|
||||
address = "128.210.6.97";
|
||||
|
|
|
@ -3,7 +3,11 @@
|
|||
let
|
||||
uuid = uuid: "/dev/disk/by-uuid/${uuid}";
|
||||
main = uuid "527062b3-7a48-4456-8527-30887c6e9f52";
|
||||
commonOptions = [ "autodefrag" "noatime" "compress-force=zstd:1" ];
|
||||
commonOptions = [
|
||||
"autodefrag"
|
||||
"noatime"
|
||||
"compress-force=zstd:1"
|
||||
];
|
||||
|
||||
mkMain' = options: {
|
||||
device = main;
|
||||
|
@ -17,7 +21,11 @@ in
|
|||
"/" = {
|
||||
device = "none";
|
||||
fsType = "tmpfs";
|
||||
options = [ "defaults" "size=64G" "mode=755" ];
|
||||
options = [
|
||||
"defaults"
|
||||
"size=64G"
|
||||
"mode=755"
|
||||
];
|
||||
};
|
||||
|
||||
"/media/main" = mkMain' [ ];
|
||||
|
|
|
@ -5,12 +5,25 @@
|
|||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "thunderbolt" "ahci" "usbhid" "sd_mod" ];
|
||||
boot.initrd.availableKernelModules = [
|
||||
"nvme"
|
||||
"xhci_pci"
|
||||
"thunderbolt"
|
||||
"ahci"
|
||||
"usbhid"
|
||||
"sd_mod"
|
||||
];
|
||||
boot.initrd.kernelModules = [ "usb_storage" ];
|
||||
boot.kernelModules = [ "kvm-amd" "kvm-intel" ];
|
||||
boot.kernelModules = [
|
||||
"kvm-amd"
|
||||
"kvm-intel"
|
||||
];
|
||||
boot.extraModulePackages = [ ];
|
||||
boot.kernelParams = [ "boot.shell_on_fail" ];
|
||||
boot.supportedFilesystems = [ "btrfs" "zfs" ];
|
||||
boot.supportedFilesystems = [
|
||||
"btrfs"
|
||||
"zfs"
|
||||
];
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||||
|
||||
info.model = "SD Card Installation";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue