ame: update disko
This commit is contained in:
parent
26d677cea7
commit
e9fdef4604
2 changed files with 7 additions and 18 deletions
|
@ -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";
|
||||||
|
|
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue