ame: update disko

This commit is contained in:
notohh 2024-04-22 18:48:07 -04:00
parent 26d677cea7
commit e9fdef4604
Signed by: notohh
GPG key ID: BD47506D475EE86D
2 changed files with 7 additions and 18 deletions

View file

@ -1,8 +1,8 @@
{ {
disko.devices = { disko.devices = {
disk = { disk = {
vdb = { sda = {
device = "/dev/vda"; device = "/dev/sda";
type = "disk"; type = "disk";
content = { content = {
type = "gpt"; type = "gpt";

View file

@ -27,24 +27,13 @@
}; };
}; };
fileSystems = { zramSwap = {
"/" = { enable = true;
device = "/dev/disk/by-uuid/57411820-f154-497e-9c7e-dfcb1f21c5cf"; swapDevices = 1;
fsType = "ext4"; memoryPercent = 50;
}; algorithm = "zstd";
"/boot/efi" = {
device = "/dev/disk/by-uuid/4D09-1D57";
fsType = "vfat";
};
"/nas/restic" = {
device = "192.168.1.199:/mnt/Sutoreji/nix-restic-data/ame";
fsType = "nfs";
};
}; };
swapDevices = [
{device = "/dev/disk/by-uuid/4f69ab31-f6a9-4799-92f1-5abbe0dc9180";}
];
networking.useDHCP = lib.mkDefault true; networking.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";