added SOPS

This commit is contained in:
lsoriano-mcm
2025-06-28 21:00:01 -05:00
parent 6fc18f11a5
commit 37e982c983
9 changed files with 44 additions and 10 deletions
+2
View File
@@ -2,9 +2,11 @@
pkgs,
general,
builds,
inputs,
...
}: {
imports = [
inputs.sops-nix.nixosModules.sops
# Include the results of the hardware scan.
];
+3 -1
View File
@@ -1,10 +1,12 @@
{
pkgs,
myConfig,
inputs,
...
}: {
imports = [
../../modules/dev.nix
inputs.sops-nix.darwinModules.sops
];
# List packages installed in system profile. To search by name, run:
# $ nix-env -qaP | grep wget
@@ -34,7 +36,7 @@
users.users.${myConfig.general.Username} = {
name = "${myConfig.general.Username}";
home = "/Users/${myConfig.general.Username}";
shell = pkgs.${myConfig.general.terminal.Shell};
# shell = pkgs.${myConfig.general.terminal.Shell}; # no support for nix-darwin, but can be changed via chsh.
};
home-manager.users.${myConfig.general.Username} = import ../../home/macos.nix;