mirror of
https://github.com/Unkn0wnCat/dotfiles.git
synced 2025-05-28 22:06:10 +02:00
Add home-manager config
This commit is contained in:
parent
7dbe7d8f81
commit
a1290306de
3 changed files with 76 additions and 1 deletions
|
@ -20,12 +20,28 @@ let
|
|||
];
|
||||
})
|
||||
];
|
||||
homeManagerSetup = [
|
||||
({...}: {
|
||||
imports = [
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.sharedModules = [
|
||||
inputs.sops-nix.homeManagerModules.sops
|
||||
];
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.users.kevin = import ../home-manager/kevin/home.nix;
|
||||
}
|
||||
];
|
||||
|
||||
})
|
||||
];
|
||||
in
|
||||
{
|
||||
flake.nixosConfigurations = {
|
||||
kevin-tp = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = defaultModules ++ [
|
||||
modules = defaultModules ++ homeManagerSetup ++ [
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
./kevin-tp/configuration.nix
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue