migrate to impermanence?

This commit is contained in:
andromeda
2026-01-02 23:15:56 +01:00
parent 0fee255cbf
commit ab263e5184
2 changed files with 39 additions and 1 deletions

View File

@@ -4,6 +4,10 @@
machine,
...
}: {
imports = [
./impermanence.nix
(modulesPath + "/profiles/qemu-guest.nix")
];
# roundcube config
services.roundcube = {
enable = true;
@@ -46,8 +50,12 @@
# system config
system.stateVersion = "25.11";
nix.settings.experimental-features = ["flakes" "nix-command"];
imports = [(modulesPath + "/profiles/qemu-guest.nix")];
fileSystems."/" = {
device = "none";
fsType = "tmpfs";
options = ["defaults" "size=60%" "mode=755"];
};
fileSystems."/nix" = {
device = "/dev/sda1";
fsType = "ext4";
};