zfs/panorama: init

This commit is contained in:
Peder Bergebakken Sundt 2024-01-10 21:39:55 +01:00
parent 7b812bbad2
commit 2c93bbbadf
2 changed files with 15 additions and 0 deletions

View File

@ -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;

View 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
}