summaryrefslogtreecommitdiff
path: root/users/user-common.nix
blob: b6da2bb31bd5a783fa138b75b5a202745d0e7336 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{pkgs, config, inputs, ...}: {
   # Pass host config to HM (Common config)
   # TODO: Move this somewhere else.
   home-manager = { 
     useUserPackages = true;
     useGlobalPkgs = true;
     backupFileExtension = "bak"; 
    
     sharedModules = [
       ({ ...}: {
          _module.args.hostconfig = config;

       })
         inputs.sops-nix.homeManagerModules.sops
     ];
   };
}