Skip to content

Commit

Permalink
cert updates for work
Browse files Browse the repository at this point in the history
  • Loading branch information
kclejeune committed Oct 2, 2024
1 parent de6e327 commit c210cad
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
3 changes: 2 additions & 1 deletion modules/darwin/core.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@

# auto manage nixbld users with nix darwin
nix = {
configureBuildUsers = true;
configureBuildUsers = false;
nixPath = ["darwin=/etc/${config.environment.etc.darwin.target}"];
extraOptions = ''
extra-platforms = x86_64-darwin aarch64-darwin
'';
};

security.pam.enableSudoTouchIdAuth = true;
# Auto upgrade nix package and the daemon service.
services.nix-daemon.enable = true;

Expand Down
2 changes: 1 addition & 1 deletion modules/home-manager/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ in {
coreutils-full
curl
d2
# devbox
diffutils
dive
dotenvx
duckdb
fd
ffmpeg
Expand Down
4 changes: 4 additions & 0 deletions modules/home-manager/dotfiles/aerospace/aerospace.toml
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,10 @@ run = 'move-node-to-workspace D'
if.app-id = 'com.docker.docker'
run = 'move-node-to-workspace D'

[[on-window-detected]]
if.app-id = 'dev.kdrag0n.MacVirt'
run = 'move-node-to-workspace D'

# mnemonics F - files/finder
[[on-window-detected]]
if.app-id = 'com.apple.finder'
Expand Down
4 changes: 2 additions & 2 deletions profiles/work.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{pkgs, ...}: {
{...}: {
user.name = "lejeukc1";
hm = {imports = [./home-manager/work.nix];};
security.pki.certificateFiles = ["${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt" "/etc/certs.d/bundle.pem"];
security.pki.installCACerts = false;
}

0 comments on commit c210cad

Please sign in to comment.