i need to start making smaller commits

This commit is contained in:
xunuwu 2024-08-02 08:16:21 +02:00
parent 29473532c7
commit 088b45ff45
Signed by: xun
SSH key fingerprint: SHA256:Uot/1WoAjWAeqLOHA5vYy4phhVydsH7jCPmBjaPZfgI
19 changed files with 397 additions and 23 deletions

View file

@ -1,16 +1,21 @@
{
{lib, ...}: {
imports = [
./hardware.nix
./hibernate-boot.nix
];
networking.hostName = "nixdesk";
swapDevices = [
{
device = "/var/lib/swapfile";
size = 16 * 1024;
}
];
#swapDevices = lib.singleton {
# device = "/dev/disk/by-uuid/1dcce4ab-71da-4928-83d5-62b20fd0fddf";
#};
#boot.resumeDevice = "/dev/disk/by-uuid/1dcce4ab-71da-4928-83d5-62b20fd0fddf";
#boot.kernelParams = [
# "resume=UUID=1dcce4ab-71da-4928-83d5-62b20fd0fddf"
# "resume_offset=3841492992" # fdisk -l
#];
networking.interfaces.eno1.wakeOnLan.enable = true;