Add preferred programs to variables
This commit is contained in:
@@ -28,6 +28,12 @@
|
|||||||
email = "mail@jelles.net";
|
email = "mail@jelles.net";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
preferred = {
|
||||||
|
editor = "nvim";
|
||||||
|
terminal = "kitty";
|
||||||
|
browser = "brave";
|
||||||
|
};
|
||||||
|
|
||||||
autoUpgrade = false;
|
autoUpgrade = false;
|
||||||
autoGarbageCollector = true;
|
autoGarbageCollector = true;
|
||||||
hyprland = {
|
hyprland = {
|
||||||
|
|||||||
@@ -28,6 +28,12 @@
|
|||||||
email = "mail@jelles.net";
|
email = "mail@jelles.net";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
preferred = {
|
||||||
|
editor = "nvim";
|
||||||
|
terminal = "kitty";
|
||||||
|
browser = "brave";
|
||||||
|
};
|
||||||
|
|
||||||
autoUpgrade = false;
|
autoUpgrade = false;
|
||||||
autoGarbageCollector = true;
|
autoGarbageCollector = true;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -28,6 +28,12 @@
|
|||||||
email = "mail@jelles.net";
|
email = "mail@jelles.net";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
preferred = {
|
||||||
|
editor = "nvim";
|
||||||
|
terminal = "kitty";
|
||||||
|
browser = "brave";
|
||||||
|
};
|
||||||
|
|
||||||
autoUpgrade = false;
|
autoUpgrade = false;
|
||||||
autoGarbageCollector = true;
|
autoGarbageCollector = true;
|
||||||
|
|
||||||
|
|||||||
@@ -14,6 +14,9 @@ let
|
|||||||
numericLocale = config.var.numericLocale;
|
numericLocale = config.var.numericLocale;
|
||||||
timeLocale = config.var.timeLocale;
|
timeLocale = config.var.timeLocale;
|
||||||
autoUpgrade = config.var.autoUpgrade;
|
autoUpgrade = config.var.autoUpgrade;
|
||||||
|
editor = config.var.preferred.editor;
|
||||||
|
terminal = config.var.preferred.terminal;
|
||||||
|
browser = config.var.preferred.browser;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
networking.hostName = hostname;
|
networking.hostName = hostname;
|
||||||
@@ -66,10 +69,10 @@ in
|
|||||||
environment.variables = {
|
environment.variables = {
|
||||||
XDG_DATA_HOME = "$HOME/.local/share";
|
XDG_DATA_HOME = "$HOME/.local/share";
|
||||||
PASSWORD_STORE_DIR = "$HOME/.local/share/password-store";
|
PASSWORD_STORE_DIR = "$HOME/.local/share/password-store";
|
||||||
EDITOR = "nvim";
|
EDITOR = editor;
|
||||||
TERMINAL = "kitty";
|
TERMINAL = terminal;
|
||||||
TERM = "kitty";
|
TERM = terminal;
|
||||||
BROWSER = "brave";
|
BROWSER = browser;
|
||||||
};
|
};
|
||||||
|
|
||||||
services.libinput.enable = true;
|
services.libinput.enable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user