fork/home-manager

git clone https://git.julia.blue/fork/home-manager

MaxCan-Codeflake: add templates (#2892)8e4220e6

master
797 B29 linesraw
1{
2  description = "Home Manager configuration of Jane Doe";
3
4  inputs = {
5    # Specify the source of Home Manager and Nixpkgs.
6    nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
7    home-manager = {
8      url = "github:nix-community/home-manager";
9      inputs.nixpkgs.follows = "nixpkgs";
10    };
11  };
12
13  outputs = { nixpkgs, home-manager, ... }:
14    let
15      system = "x86_64-linux";
16      pkgs = nixpkgs.legacyPackages.${system};
17    in {
18      homeConfigurations.jdoe = home-manager.lib.homeManagerConfiguration {
19        inherit pkgs;
20
21        # Specify your home configuration modules here, for example,
22        # the path to your home.nix.
23        modules = [ ./home.nix ];
24
25        # Optionally use extraSpecialArgs
26        # to pass through arguments to home.nix
27      };
28    };
29}