init flake
This commit is contained in:
29
flake.nix
Normal file
29
flake.nix
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
description = "dandellion's home-manager profiles";
|
||||
|
||||
inputs = {
|
||||
home-manager-2205.url = "github:nix-community/home-manager/release-22.05";
|
||||
nixos-2205.url = "github:nixos/nixpkgs/nixos-22.05";
|
||||
home-manager-2205.inputs.nixpkgs.follows = "nixos-2205";
|
||||
|
||||
unstable.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
||||
|
||||
nur.url = "github:nix-community/NUR";
|
||||
nur.inputs.nixpkgs.follows = "unstable";
|
||||
|
||||
dan.url = "git+https://git.dodsorf.as/Dandellion/NUR";
|
||||
dan.inputs.nixpkgs.follows = "unstable";
|
||||
};
|
||||
|
||||
outputs = {home-manager-2205, unstable, nur, dan, ... }:
|
||||
{
|
||||
homeConfigurations.laptop = home-manager-2205.lib.homeManagerConfiguration {
|
||||
configuration = import ./machines/laptop.nix;
|
||||
system = "x86_64-linux";
|
||||
username = "daniel";
|
||||
homeDirectory = "/home/daniel";
|
||||
stateVersion = "22.05";
|
||||
extraSpecialArgs = { inherit nur unstable dan; };
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user