nixos-config/flake.nix
Rouven Seifert f85c5de8b7
let home manager follow nixpkgs
I have no clue what that means tbh
2022-12-27 23:44:46 +01:00

25 lines
660 B
Nix

{
description = "My nix setup";
inputs = {
nixpkgs.url = github:nixos/nixpkgs/nixos-22.11;
home-manager.url = github:nix-community/home-manager;
home-manager.inputs.nixpkgs.follows = "nixpkgs";
sops-nix.url = github:Mic92/sops-nix;
sops-nix.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = { self, nixpkgs, home-manager, sops-nix }: {
nixosConfigurations = {
thinkpad = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./hosts/thinkpad
./users/rouven
home-manager.nixosModules.home-manager
sops-nix.nixosModules.sops
];
};
};
};
}