dotfiles/flake.nix

54 lines
1.5 KiB
Nix
Raw Normal View History

2022-06-02 03:32:14 +02:00
{
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";
};
2022-06-02 05:08:38 +02:00
outputs = {self, home-manager-2205, unstable, nur, dan, ... }:
let
pvv-home = "/home/pvv/d/${pvv-username}";
pvv-username = "danio";
in
2022-06-02 03:32:14 +02:00
{
homeConfigurations.laptop = home-manager-2205.lib.homeManagerConfiguration {
configuration = import ./machines/laptop.nix;
system = "x86_64-linux";
username = "daniel";
homeDirectory = "/home/daniel";
stateVersion = "22.05";
2022-06-02 05:08:38 +02:00
extraSpecialArgs = { inherit (self) overlays; };
2022-06-02 03:32:14 +02:00
};
2022-06-02 05:08:38 +02:00
homeConfigurations.pvv-terminal = home-manager-2205.lib.homeManagerConfiguration {
configuration = import ./machines/pvv-terminal.nix;
system = "x86_64-linux";
username = pvv-username;
homeDirectory = pvv-home;
stateVersion = "22.05";
extraSpecialArgs = { inherit (self) overlays; };
};
overlays = [
(final: prev: {
unstable = import unstable {
inherit (prev) system config;
};
dan = dan.packages.${prev.system};
})
nur.overlay
];
2022-06-02 03:32:14 +02:00
};
}