在 host 上增加 home-manager 和 sops
This commit is contained in:
@@ -20,9 +20,20 @@
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
backupFileExtension = "bak";
|
||||
sharedModules = [
|
||||
inputs.sops-nix.homeManagerModules.sops
|
||||
];
|
||||
extraSpecialArgs = {
|
||||
lib = import ../../home/lib/origami404.nix {
|
||||
hmSource = inputs.home-manager-darwin;
|
||||
npLib = inputs.nixpkgs-darwin.lib;
|
||||
};
|
||||
};
|
||||
users.origami = import ../../home/hosts/hypnos.nix;
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [ home-manager ];
|
||||
|
||||
nixpkgs.config.allowUnfreePredicate = _: true;
|
||||
|
||||
system.stateVersion = 5;
|
||||
|
||||
Reference in New Issue
Block a user