nixos/shill: Re-enable Jackflix

This commit is contained in:
Jack O'Sullivan 2023-02-21 14:22:10 +00:00
parent 207697c3b2
commit 15721e0894
2 changed files with 17 additions and 18 deletions

View File

@ -139,19 +139,19 @@
(mkMerge [ (vmLVM "shill" "esp") { frontendOpts.bootindex = 0; } ])
(vmLVM "shill" "nix")
(vmLVM "shill" "persist")
# {
# name = "media";
# backend = {
# driver = "host_device";
# filename = "/dev/main/media";
# discard = "unmap";
# };
# format = {
# driver = "raw";
# discard = "unmap";
# };
# frontend = "virtio-blk";
# }
{
name = "media";
backend = {
driver = "host_device";
filename = "/dev/main/media";
discard = "unmap";
};
format = {
driver = "raw";
discard = "unmap";
};
frontend = "virtio-blk";
}
{
name = "minio";
backend = {

View File

@ -76,10 +76,10 @@
fsType = "ext4";
neededForBoot = true;
};
# "/mnt/media" = {
# device = "/dev/disk/by-label/media";
# fsType = "ext4";
# };
"/mnt/media" = {
device = "/dev/disk/by-label/media";
fsType = "ext4";
};
"/mnt/minio" = {
device = "/dev/disk/by-label/minio";
fsType = "xfs";
@ -134,7 +134,6 @@
};
};
systemd.services."systemd-nspawn@jackflix".enable = false;
my = {
secrets.key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJ6bc1pQCYalLXdB4X+7kFXtkTdFalbH5rchjuYj2ceU";
server.enable = true;