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
|
||||
bitwarden_cli = pkgs.bitwarden-cli.overrideAttrs (oldAttrs: {
|
||||
stdenv = pkgs.llvmPackages_18.stdenv;
|
||||
nativeBuildInputs = (oldAttrs.nativeBuildInputs or [ ]) ++ [ pkgs.llvmPackages_18.stdenv.cc ];
|
||||
CXX = "${pkgs.llvmPackages_18.clang}/bin/clang++";
|
||||
CC = "${pkgs.llvmPackages_18.clang}/bin/clang";
|
||||
});
|
||||
utils = import ../utils.nix;
|
||||
dotfiles = [
|
||||
[
|
||||
".config/aerospace"
|
||||
"aerospace"
|
||||
]
|
||||
];
|
||||
in
|
||||
{
|
||||
home = {
|
||||
packages = with pkgs; [
|
||||
gawk
|
||||
discord
|
||||
bitwarden_cli
|
||||
];
|
||||
file = {
|
||||
".config/aerospace/aerospace.toml".source =
|
||||
config.lib.file.mkOutOfStoreSymlink ../../aerospace/aerospace.toml;
|
||||
};
|
||||
file = utils.mk_symlinks { inherit config dotfiles; };
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue