1
Fork 0
mirror of https://github.com/thegeneralist01/config.git synced 2026-03-07 10:59:55 +01:00

fix: shell vars

This commit is contained in:
TheGeneralist 2025-05-29 19:53:10 +02:00
parent 523aaff701
commit a86424bb64
Signed by: thegeneralist01
SSH key fingerprint: SHA256:pp9qddbCNmVNoSjevdvQvM5z0DHN7LTa8qBMbcMq/R4
7 changed files with 76 additions and 55 deletions

View file

@ -1,4 +1,6 @@
{ pkgs, options, lib, ... }: {
{ pkgs, config, lib, ... }: let
inherit (lib) optionals;
in {
environment.variables.EDITOR = "nvim";
home-manager.sharedModules = [{
@ -23,11 +25,13 @@
nodejs
nodePackages."sass"
gcc_multi
#llvmPackages_20.clangWithLibcAndBasicRtAndLibcxx
] ++ optionals config.onLinux [
gcc_multi
];
home.file = lib.mkIf options.onLinux {
home.file = lib.mkIf config.onLinux {
".config/i3status" = {
source = ../home/dotfiles/i3status;
force = true;