This commit is contained in:
2025-04-04 22:52:46 -04:00
parent 816d8a54df
commit e2fab02d40
8 changed files with 66 additions and 33 deletions

View File

@@ -1,4 +1,4 @@
{ pkgs, lib, config, namespace, ... }:
{ lib, config, namespace, osConfig, ... }:
let
inherit (lib.${namespace}) enabled;
in
@@ -13,7 +13,7 @@ in
ssh-agent = enabled;
sops = {
enable = true;
defaultSopsFile = lib.snowfall.fs.get-file "secrets/mbp-nixos/default.yaml";
defaultSopsFile = lib.snowfall.fs.get-file "secrets/default.yaml";
sshKeyPaths = [ "${config.home.homeDirectory}/.ssh/id_ed25519" ];
};
};
@@ -39,18 +39,25 @@ in
};
};
# Kubernetes Secrets
sops.secrets = lib.mkIf osConfig.${namespace}.security.sops.enable {
rke2_kubeconfig = {
path = "${config.home.homeDirectory}/.kube/rke2";
};
};
# Global Packages
programs.jq = enabled;
programs.pandoc = enabled;
home.packages = with pkgs; [
android-tools
imagemagick
mosh
python311
texliveSmall # Pandoc PDF Dep
google-cloud-sdk
tldr
];
# programs.jq = enabled;
# programs.pandoc = enabled;
# home.packages = with pkgs; [
# android-tools
# imagemagick
# mosh
# python311
# texliveSmall # Pandoc PDF Dep
# google-cloud-sdk
# tldr
# ];
# SQLite Configuration
home.file.".sqliterc".text = ''