zfs/panorama: init
This commit is contained in:
parent
7b812bbad2
commit
2c93bbbadf
@ -13,6 +13,8 @@
|
||||
|
||||
../../users/pbsds
|
||||
|
||||
../../profiles/mounts/panorama-zfs.nix
|
||||
|
||||
../../profiles/shell/base.nix
|
||||
../../profiles/shell/archives.nix
|
||||
../../profiles/shell/nix-utils.nix
|
||||
@ -25,6 +27,8 @@
|
||||
];
|
||||
services.domeneshop-updater.targets = [ config.networking.fqdn ];
|
||||
|
||||
networking.hostId = "43c43ded"; # needed for zfs: head -c 8 /etc/machine-id
|
||||
|
||||
# Networking
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
|
11
profiles/mounts/panorama-zfs.nix
Normal file
11
profiles/mounts/panorama-zfs.nix
Normal file
@ -0,0 +1,11 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
{
|
||||
# https://search.nixos.org/options?query=services.zfs
|
||||
|
||||
imports = [ ./common-zfs.nix ];
|
||||
|
||||
# non legacy-mount
|
||||
systemd.services.zfs-mount.enable = true; # default
|
||||
boot.zfs.extraPools = [ "Panorama" ]; # import on boot
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user