refactor: move some common env configuration from hosts to core

This commit is contained in:
Youwen Wu 2024-12-15 02:52:24 -08:00
parent 34ab95d310
commit 005347d632
Signed by: youwen
GPG key ID: 865658ED1FE61EC3
5 changed files with 13 additions and 29 deletions

View file

@ -86,7 +86,8 @@
# };
# };
boot.initrd.luks.devices."luks-52d1be6d-b32f-41e0-a6d7-2ff52599fe7c".device = "/dev/disk/by-uuid/52d1be6d-b32f-41e0-a6d7-2ff52599fe7c";
boot.initrd.luks.devices."luks-52d1be6d-b32f-41e0-a6d7-2ff52599fe7c".device =
"/dev/disk/by-uuid/52d1be6d-b32f-41e0-a6d7-2ff52599fe7c";
services.tlp.enable = true;
@ -206,13 +207,6 @@
curl
];
environment.variables = {
EDITOR = "nvim";
};
# tells electron apps to use Wayland
environment.sessionVariables.NIXOS_OZONE_WL = "1";
# Some programs need SUID wrappers, can be configured further or are
# started in user sessions.
# programs.mtr.enable = true;