move home-manager env vars into system env vars where they belong

this lets Qt apps properly start under phosh.

git editor is still nano -- unsure why.
This commit is contained in:
colin 2022-05-31 22:22:20 -07:00
parent a30050af8f
commit c394320607
3 changed files with 9 additions and 9 deletions

View File

@ -23,4 +23,9 @@
theme = default
'';
};
environment.variables = {
# Qt apps won't always start unless this env var is set
QT_QPA_PLATFORM = "wayland";
};
}

View File

@ -177,15 +177,6 @@
"cd../" = "cd ../";
};
home.sessionVariables = {
EDITOR = "vim";
}
// (if gui != null then {
# all guis we support run wayland
# particularly on phosh, QT apps won't always start unless this env var is set
QT_QPA_PLATFORM = "wayland";
} else {});
home.packages = [
pkgs.btrfs-progs

View File

@ -8,5 +8,9 @@
];
time.timeZone = "America/Los_Angeles";
environment.variables = {
EDITOR = "vim";
};
}