Make config host independant

This commit is contained in:
willifan 2024-05-19 20:11:53 +02:00
parent d0317d9b39
commit dc30940074
8 changed files with 67 additions and 20 deletions

View file

@ -2,6 +2,6 @@
{
imports = [
./hardware-configuration.nix
#./disko.nix
./disko.nix
];
}

View file

@ -41,6 +41,10 @@
mountOptions = [ "compress=zstd" "noatime" ];
mountpoint = "/nix";
};
"/mnt/data" = {
mountOptions = [ "compress=zstd" "noatime" ];
mountpoint = "/mnt/data";
};
# Subvolume for the swapfile
"/swap" = {
mountpoint = "/.swapvol";