move zed to nixos

This commit is contained in:
Audrey 2025-03-27 23:42:08 -07:00
parent 0e51302fe6
commit 9fdd6d58f8
2 changed files with 19 additions and 19 deletions

View File

@ -44,6 +44,25 @@ in {
virt-manager.enable = true; virt-manager.enable = true;
}; };
services.zfs.zed = {
settings = {
PATH = lib.mkForce (lib.makeBinPath [
config.boot.zfs.package
pkgs.coreutils
pkgs.curl
pkgs.gawk
pkgs.gnugrep
pkgs.gnused
pkgs.nettools
pkgs.util-linux
pkgs.systemd
]);
ZED_USE_DBUS = "1";
};
};
security.pam.u2f = { security.pam.u2f = {
enable = true; enable = true;
settings.authfile = toStore ./dotfiles/u2f-keys; settings.authfile = toStore ./dotfiles/u2f-keys;

View File

@ -15,23 +15,4 @@ let overlay = final: prev: {
in { in {
nixpkgs.overlays = [ overlay ]; nixpkgs.overlays = [ overlay ];
services.zfs.zed = {
settings = {
PATH = lib.mkForce (lib.makeBinPath [
config.boot.zfs.package
pkgs.coreutils
pkgs.curl
pkgs.gawk
pkgs.gnugrep
pkgs.gnused
pkgs.nettools
pkgs.util-linux
pkgs.systemd
]);
ZED_USE_DBUS = "1";
};
};
} }