nixos-config/flake.nix

21 lines
469 B
Nix
Raw Normal View History

2022-12-18 17:01:34 +01:00
{
2022-12-19 15:45:59 +01:00
description = "My nix setup";
2022-12-18 17:01:34 +01:00
inputs = {
nixpkgs.url = github:nixos/nixpkgs/nixos-22.11;
home-manager.url = github:nix-community/home-manager;
};
outputs = { self, nixpkgs, home-manager }: {
nixosConfigurations = {
thinkpad = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
2022-12-19 20:07:28 +01:00
./hosts/thinkpad
./users/rouven
2022-12-18 17:07:40 +01:00
home-manager.nixosModules.home-manager
2022-12-18 17:01:34 +01:00
];
};
};
};
}