parent
e2a0b0bcde
commit
684cf02eee
|
@ -17,7 +17,7 @@ MicroSD card as boot and OS.
|
|||
### First milestone
|
||||
|
||||
- [X] ZFS set up on the HDDs
|
||||
- [ ] Plex media server
|
||||
- [X] Plex media server
|
||||
|
||||
### Second milestone
|
||||
|
||||
|
|
|
@ -38,6 +38,14 @@
|
|||
# zfs needs this for some reason
|
||||
networking.hostId = "488ecad2";
|
||||
};
|
||||
nixosModules.plex = {...}: {
|
||||
services.plex = {
|
||||
enable = true;
|
||||
dataDir = "/storage/media/plex";
|
||||
openFirewall = true;
|
||||
};
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
};
|
||||
nixosConfigurations.chopper = nixpkgs.lib.nixosSystem {
|
||||
system = "aarch64-linux";
|
||||
modules = [
|
||||
|
@ -46,6 +54,7 @@
|
|||
self.nixosModules.users
|
||||
self.nixosModules.ssh
|
||||
self.nixosModules.zfs
|
||||
self.nixosModules.plex
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue