1 { pkgs, lib, config, hostName, ... }:
4 ../../nixos/profiles/systems/zfs.nix
8 device = "${hostName}/root";
11 boot.zfs.requestEncryptionCredentials = [ hostName ];
13 fileSystems."/nix" = {
14 device = "${hostName}/nix";
18 fileSystems."/var" = {
19 device = "${hostName}/var";
23 fileSystems."/var/cache" = {
24 device = "${hostName}/var/cache";
28 fileSystems."/var/log" = {
29 device = "${hostName}/var/log";
33 fileSystems."/var/tmp" = {
34 device = "${hostName}/var/tmp";
38 fileSystems."/mnt/key" = {
39 device = "/dev/disk/by-label/key";
41 options = [ "auto" "nofail" "uid=1000" "gid=users" "umask=111" "dmask=007" "utf8=yes" ];
44 # Allow members of the "adbusers" group to mount Android devices via MTP
45 services.udev.packages = [ pkgs.android-udev-rules ];
46 environment.systemPackages = [