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
|
2023-07-01 13:04:46 +02:00
|
|
|
common-gui-modules = [
|
|
|
|
./modules/common.nix
|
|
|
|
home-manager.nixosModules.home-manager
|
|
|
|
{
|
|
|
|
home-manager.useGlobalPkgs = true;
|
|
|
|
home-manager.useUserPackages = true;
|
|
|
|
home-manager.users.daan = import ./modules/home;
|
|
|
|
}
|
|
|
|
];
|
|
|
|
# common-server-modules = [
|
|
|
|
|
|
|
|
# ];
|
2023-07-01 11:33:15 +02:00
|
|
|
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
|
2023-07-01 13:04:46 +02:00
|
|
|
] ++ common-gui-modules;
|
2023-07-01 11:21:43 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|