dot.nix/flake.nix
Chris Toph 9a28ac9e44 Custom pkg for snapraid-runner
needs more configuration once snapraid itself is setup
2024-09-04 00:08:14 -04:00

34 lines
808 B
Nix

{
description = "Unstable Flake";
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, home-manager, ... }:
let
system = "x86_64-linux";
lib = nixpkgs.lib;
pkgs = import nixpkgs {
inherit system;
overlays = [ (import ./overlays) ];
};
in {
nixosConfigurations = {
cloud = lib.nixosSystem {
inherit system;
modules = [ ./nixos/configuration.nix ];
};
};
homeConfigurations = {
toph = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [ ./home-manager/home.nix ];
};
};
};
}