2023-07-01 11:21:43 +02:00
|
|
|
{
|
2023-07-01 11:33:15 +02:00
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.05";
|
|
|
|
home-manager.url = "github:nix-community/home-manager/release-23.05";
|
|
|
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
outputs = inputs@{ self, nixpkgs, home-manager }:
|
|
|
|
let
|
|
|
|
homeconfig = {
|
|
|
|
home-manager.useGlobalPkgs = true;
|
|
|
|
home-manager.useUserPackages = true;
|
|
|
|
home-manager.users.daan = import ./modules/home;
|
|
|
|
};
|
|
|
|
in
|
|
|
|
{
|
2023-07-01 11:21:43 +02:00
|
|
|
nixosConfigurations.danacus-yoga = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
2023-07-01 11:33:15 +02:00
|
|
|
modules = [
|
|
|
|
./systems/yoga/configuration.nix
|
|
|
|
home-manager.nixosModules.home-manager
|
|
|
|
homeconfig
|
|
|
|
];
|
2023-07-01 11:21:43 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|