summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorMike Vink <mike1994vink@gmail.com>2022-10-29 14:35:33 +0200
committerMike Vink <mike1994vink@gmail.com>2022-10-29 14:35:33 +0200
commita39a1c7cb6a81764bb5c05155243c16c2ddfb7f6 (patch)
tree2ae547e4632b8ce99e1c921bd8f5b37419fac4b3 /flake.nix
parent46eb3563ac990ef5172a8addefa7342d2cf39477 (diff)
move
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
new file mode 100644
index 0000000..0910a40
--- /dev/null
+++ b/flake.nix
@@ -0,0 +1,31 @@
+{
+ description = "Home Manager configuration of Jane Doe";
+
+ # Specify the source of Home Manager and Nixpkgs.
+ inputs = {
+ nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
+ home-manager = {
+ url = "github:nix-community/home-manager";
+ inputs.nixpkgs.follows = "nixpkgs";
+ };
+ };
+
+ outputs = { nixpkgs, home-manager, ... }:
+ let
+ system = "x86_64-linux";
+ pkgs = nixpkgs.legacyPackages.${system};
+ in {
+ homeConfigurations.mike = home-manager.lib.homeManagerConfiguration {
+ inherit pkgs;
+
+ # Specify your home configuration modules here, for example,
+ # the path to your home.nix.
+ modules = [
+ ./home.nix
+ ];
+
+ # Optionally use extraSpecialArgs
+ # to pass through arguments to home.nix
+ };
+ };
+}