fix config
This commit is contained in:
parent
cb6c25e02d
commit
29ece867aa
3 changed files with 15 additions and 9 deletions
|
|
@ -16,7 +16,7 @@
|
||||||
device = storageConfig.${name}.source;
|
device = storageConfig.${name}.source;
|
||||||
fsType = storageConfig.${name}.type;
|
fsType = storageConfig.${name}.type;
|
||||||
options = storageConfig.${name}.options;
|
options = storageConfig.${name}.options;
|
||||||
};
|
} // (storageConfig.${name}.extra or {});
|
||||||
}) storageConfig;
|
}) storageConfig;
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
|
|
|
||||||
|
|
@ -8,13 +8,19 @@ rec {
|
||||||
ssd = {
|
ssd = {
|
||||||
path = "/mnt/ssd";
|
path = "/mnt/ssd";
|
||||||
type = "ext4";
|
type = "ext4";
|
||||||
source = "/dev/disk/by-uuid/a3ffb02e-fe9f-4bce-bd94-af0294ebff8f";
|
source = "/dev/disk/by-uuid/e44fedd5-150c-4af6-a2a0-0476da78e651";
|
||||||
options = ["noatime"];
|
options = ["noatime"];
|
||||||
};
|
};
|
||||||
varlib-storage = {
|
varlib-storage = {
|
||||||
path = "/var/lib";
|
path = "/var/lib";
|
||||||
type = "none";
|
type = "ext4";
|
||||||
source = "/dev/disk/by-uuid/c9aacddc-00ab-4d36-8a04-1051586b071c";
|
source = "/dev/disk/by-uuid/c9aacddc-00ab-4d36-8a04-1051586b071c";
|
||||||
options = ["defaults" "noatime"];
|
options = ["noatime"];
|
||||||
|
extra = {
|
||||||
|
neededForBoot = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
#rwxrwxrwx 1 root root 10 Jan 1 1970 a3ffb02e-fe9f-4bce-bd94-af0294ebff8f -> ../../sda1
|
||||||
|
#lrwxrwxrwx 1 root root 10 Jan 1 1970 c9aacddc-00ab-4d36-8a04-1051586b071c -> ../../sda2
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,13 @@
|
||||||
{...}: {
|
{...}: {
|
||||||
imports = [
|
imports = [
|
||||||
./kea.nix
|
./kea.nix
|
||||||
./kiwix-updater.nix
|
# ./kiwix-updater.nix
|
||||||
./kiwix.nix
|
# ./kiwix.nix
|
||||||
./nginx.nix
|
./nginx.nix
|
||||||
./openssh.nix
|
./openssh.nix
|
||||||
./qbittorrent.nix
|
# ./qbittorrent.nix
|
||||||
./unbound.nix
|
./unbound.nix
|
||||||
./autossh.nix
|
./autossh.nix
|
||||||
./continuwuity.nix
|
# ./continuwuity.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue