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

View file

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