reformating
This commit is contained in:
parent
d426069e99
commit
35ce763bbf
15 changed files with 312 additions and 329 deletions
|
|
@ -11,7 +11,6 @@
|
|||
binutils
|
||||
binwalk
|
||||
exfat
|
||||
nixfmt-tree
|
||||
qemu
|
||||
qrencode
|
||||
];
|
||||
|
|
@ -67,12 +66,7 @@
|
|||
pulse.enable = true;
|
||||
};
|
||||
tuned.enable = true;
|
||||
upower = {
|
||||
allowRiskyCriticalPowerAction = true;
|
||||
criticalPowerAction = "Suspend";
|
||||
enable = true;
|
||||
percentageCritical = 10;
|
||||
};
|
||||
upower.enable = true;
|
||||
};
|
||||
sops = {
|
||||
secrets = {
|
||||
|
|
|
|||
|
|
@ -14,11 +14,10 @@
|
|||
kernelParams = [ "ttm.pages_limit=3014656" ];
|
||||
};
|
||||
fileSystems."/boot".device = "/dev/disk/by-uuid/2610-A769";
|
||||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
swapDevices = [
|
||||
{
|
||||
device = "/var/lib/swapfile";
|
||||
size = 15 * 1024;
|
||||
size = 15360;
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -94,8 +94,7 @@
|
|||
cd ${config.boot.kernelPackages.kernel.modules}/lib/modules/*/kernel/drivers/net/ethernet
|
||||
find -type f | sed 's/^.*\/\([^.]*\).*$/ "\1"/' | sort
|
||||
printf ' ];\n}\n') > /etc/nixos/bootable/ethernet.nix
|
||||
nixos-install --flake "/etc/nixos#nixos-bootpxe" \
|
||||
--no-channel-copy --no-root-passwd --root /srv/pxe/nixos
|
||||
nixos-install --flake "/etc/nixos#nixos-bootpxe" --no-root-passwd --root /srv/pxe/nixos
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue