Swtich home-manager configuration to clang

This commit is contained in:
nathan mccarty 2022-07-08 23:52:26 -04:00
parent 3d4c29a6ae
commit dfa4666a03
Signed by: thatonelutenist
GPG Key ID: D70DA3DD4D1E9F96
3 changed files with 10 additions and 3 deletions

View File

@ -27,8 +27,7 @@ with lib; with nLib; {
] ]
# Linux specific packages # Linux specific packages
[ [
gcc clang
binutils
unstable.mold unstable.mold
]; ];

View File

@ -78,7 +78,9 @@ in
core = mkEnableOptionT "utils-core"; core = mkEnableOptionT "utils-core";
# Enable multi system emulation # Enable multi system emulation
# Enabled by default on desktop # Enabled by default on desktop
binfmt = mkDefaultOption "utils-productivity" config.nathan.config.isDesktop; binfmt = mkDefaultOption "binfmt" config.nathan.config.isDesktop;
# Development utilities that can't be installed through home manager due to collisions
devel = mkDefaultOption "devel" config.nathan.config.isDesktop;
}; };
}; };
# Control enabling of hardware support # Control enabling of hardware support

View File

@ -28,5 +28,11 @@ with lib;
"aarch64-linux" "aarch64-linux"
]; ];
}) })
(mkIf nathan.programs.utils.devel {
environment.systemPackages = with pkgs; [
gcc
binutils
];
})
]; ];
} }