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 = {
disk = {
vdb = {
device = "/dev/vda";
sda = {
device = "/dev/sda";
type = "disk";
content = {
type = "gpt";

View file

@ -27,24 +27,13 @@
};
};
fileSystems = {
"/" = {
device = "/dev/disk/by-uuid/57411820-f154-497e-9c7e-dfcb1f21c5cf";
fsType = "ext4";
};
"/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";
};
zramSwap = {
enable = true;
swapDevices = 1;
memoryPercent = 50;
algorithm = "zstd";
};
swapDevices = [
{device = "/dev/disk/by-uuid/4f69ab31-f6a9-4799-92f1-5abbe0dc9180";}
];
networking.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";