Tmpfs root for T490s-Laptop
This commit is contained in:
parent
451bf29096
commit
a7bafe6299
@ -13,6 +13,12 @@
|
|||||||
};
|
};
|
||||||
ram = 16;
|
ram = 16;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
persist = {
|
||||||
|
enable = true;
|
||||||
|
cache.clean.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
services.throttled = {
|
services.throttled = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
@ -7,20 +7,23 @@
|
|||||||
imports =
|
imports =
|
||||||
[ "${inputs.nixpkgs}/nixos/modules/installer/scan/not-detected.nix" ];
|
[ "${inputs.nixpkgs}/nixos/modules/installer/scan/not-detected.nix" ];
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
|
boot.initrd.availableKernelModules =
|
||||||
|
[ "xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
|
||||||
boot.initrd.kernelModules = [ ];
|
boot.initrd.kernelModules = [ ];
|
||||||
boot.kernelModules = [ "kvm-intel" ];
|
boot.kernelModules = [ "kvm-intel" ];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
fileSystems."/" =
|
fileSystems."/persist" = {
|
||||||
{ device = "/dev/disk/by-uuid/7c16955c-8414-4971-bf37-6492e8c0cb61";
|
device = "/dev/disk/by-uuid/7c16955c-8414-4971-bf37-6492e8c0cb61";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
|
neededForBoot = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
boot.initrd.luks.devices."root".device = "/dev/disk/by-uuid/234de44d-b2d4-44d0-a4e3-b3ef6b159424";
|
boot.initrd.luks.devices."root".device =
|
||||||
|
"/dev/disk/by-uuid/234de44d-b2d4-44d0-a4e3-b3ef6b159424";
|
||||||
|
|
||||||
fileSystems."/boot" =
|
fileSystems."/boot" = {
|
||||||
{ device = "/dev/disk/by-uuid/66D2-DC8B";
|
device = "/dev/disk/by-uuid/66D2-DC8B";
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -8,3 +8,15 @@ DocumentsEnabled=true
|
|||||||
FilesEnabled=true
|
FilesEnabled=true
|
||||||
Uri=https://nextcloud.balsoft.ru/
|
Uri=https://nextcloud.balsoft.ru/
|
||||||
AcceptSslErrors=false
|
AcceptSslErrors=false
|
||||||
|
|
||||||
|
[Account account_1634567009_0]
|
||||||
|
Provider=google
|
||||||
|
Identity=balsoft75@gmail.com
|
||||||
|
PresentationIdentity=balsoft75@gmail.com
|
||||||
|
MailEnabled=false
|
||||||
|
CalendarEnabled=true
|
||||||
|
ContactsEnabled=true
|
||||||
|
DocumentsEnabled=true
|
||||||
|
PhotosEnabled=true
|
||||||
|
FilesEnabled=true
|
||||||
|
PrintersEnabled=true
|
||||||
|
Loading…
Reference in New Issue
Block a user