refactor: Add EDITOR and VISUAL variables, move mergerfs things to drives.nix
This commit is contained in:
parent
e7392eb450
commit
a935356956
2 changed files with 11 additions and 5 deletions
|
@ -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;
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue