refactor: Add EDITOR and VISUAL variables, move mergerfs things to drives.nix

This commit is contained in:
batteredbunny 2025-04-19 03:59:14 +03:00
parent e7392eb450
commit a935356956
2 changed files with 11 additions and 5 deletions

View file

@ -2,6 +2,7 @@
, pkgs
, inputs
, settings
, lib
, ...
}: {
imports = [
@ -159,10 +160,10 @@
autoPrune.enable = true;
};
environment.systemPackages = with pkgs; [
mergerfs
mergerfs-tools
];
environment.variables = {
EDITOR = lib.getExe pkgs.helix;
VISUAL = lib.getExe pkgs.helix;
};
programs = {
mosh.enable = true;

View file

@ -1,4 +1,9 @@
{ lib, ... }: {
{ lib, pkgs, ... }: {
environment.systemPackages = with pkgs; [
mergerfs
mergerfs-tools
];
fileSystems = {
"/mnt/seagate-8tb-1" = {
device = "/dev/disk/by-uuid/94471772-5f7e-4a59-b731-4cac02cb1c86";