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
|
, 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;
|
||||||
|
|
|
@ -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";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue