2022-03-17 08:05:27 +01:00
|
|
|
{
|
|
|
|
inputs = {
|
2022-06-07 04:17:39 +02:00
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-22.05";
|
2022-03-17 08:05:27 +01:00
|
|
|
nur.url = "github:nix-community/NUR";
|
2022-08-26 05:43:18 +02:00
|
|
|
hm-isolation.url = "github:3442/hm-isolation";
|
|
|
|
|
2022-03-17 08:05:27 +01:00
|
|
|
home-manager = {
|
2022-07-15 00:09:48 +02:00
|
|
|
url = "github:nix-community/home-manager/release-22.05";
|
2022-03-17 08:05:27 +01:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2022-08-26 05:43:18 +02:00
|
|
|
outputs = {self, nixpkgs, home-manager, nur, hm-isolation, ...}:
|
2022-03-29 08:00:36 +02:00
|
|
|
let
|
|
|
|
packages = import ./pkgs;
|
|
|
|
in
|
|
|
|
{
|
2022-03-17 08:05:27 +01:00
|
|
|
nixosConfigurations.posixlycorrect = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
modules = [ ( import ./base ) ];
|
|
|
|
};
|
|
|
|
|
2022-03-17 09:56:03 +01:00
|
|
|
homeConfigurations."fabian@posixlycorrect" = home-manager.lib.homeManagerConfiguration {
|
|
|
|
system = "x86_64-linux";
|
2022-08-26 05:43:18 +02:00
|
|
|
configuration = import ./home {inherit self nixpkgs hm-isolation; };
|
2022-03-17 09:56:03 +01:00
|
|
|
username = "fabian";
|
|
|
|
homeDirectory = "/home/fabian";
|
|
|
|
stateVersion = "21.11";
|
|
|
|
};
|
2022-03-29 07:34:10 +02:00
|
|
|
|
2022-03-29 08:00:36 +02:00
|
|
|
packages.x86_64-linux = packages nixpkgs.legacyPackages.x86_64-linux;
|
|
|
|
|
|
|
|
overlay = self: super: {
|
|
|
|
local = packages super;
|
|
|
|
};
|
2022-03-17 08:05:27 +01:00
|
|
|
};
|
|
|
|
}
|