Add the x220 host

I don't have the time to split this commit
This commit is contained in:
caem 2024-10-30 15:32:07 +01:00
parent c0e985d51c
commit d8ce89bd77
Signed by: caem
GPG key ID: 69A830D03203405F
10 changed files with 539 additions and 217 deletions

23
hosts/x220/persist.nix Normal file
View file

@ -0,0 +1,23 @@
{ ... }:
{
environment.persistence."/nix/persist" = {
hideMounts = true;
directories = [
"/var/log"
"/var/lib/nixos"
"/var/lib/systemd/coredump"
{
directory = "/var/lib/colord";
user = "colord";
group = "colord";
mode = "u=rwx,g=rx,o=";
}
"/etc/NetworkManager/system-connections"
];
files = [
"/etc/machine-id"
];
};
}