Small refactor in sys darwin, bw cli is part of default home config now,
use util lib for dotfile linking
This commit is contained in:
parent
fc2bb65c64
commit
50b49e5478
1 changed files with 13 additions and 12 deletions
|
|
@ -1,22 +1,23 @@
|
||||||
{ pkgs, config, ... }:
|
{
|
||||||
|
pkgs,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}:
|
||||||
let
|
let
|
||||||
bitwarden_cli = pkgs.bitwarden-cli.overrideAttrs (oldAttrs: {
|
utils = import ../utils.nix;
|
||||||
stdenv = pkgs.llvmPackages_18.stdenv;
|
dotfiles = [
|
||||||
nativeBuildInputs = (oldAttrs.nativeBuildInputs or [ ]) ++ [ pkgs.llvmPackages_18.stdenv.cc ];
|
[
|
||||||
CXX = "${pkgs.llvmPackages_18.clang}/bin/clang++";
|
".config/aerospace"
|
||||||
CC = "${pkgs.llvmPackages_18.clang}/bin/clang";
|
"aerospace"
|
||||||
});
|
]
|
||||||
|
];
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
home = {
|
home = {
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
gawk
|
gawk
|
||||||
discord
|
discord
|
||||||
bitwarden_cli
|
|
||||||
];
|
];
|
||||||
file = {
|
file = utils.mk_symlinks { inherit config dotfiles; };
|
||||||
".config/aerospace/aerospace.toml".source =
|
|
||||||
config.lib.file.mkOutOfStoreSymlink ../../aerospace/aerospace.toml;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue