2023-06-18 22:52:24 +02:00
|
|
|
{
|
2024-04-04 01:41:19 +02:00
|
|
|
description = "Modular NixOS configuration.";
|
2023-06-18 22:52:24 +02:00
|
|
|
|
2024-04-04 01:41:19 +02:00
|
|
|
inputs = {
|
|
|
|
impermanence.url = "github:nix-community/impermanence";
|
2024-04-04 13:49:19 +02:00
|
|
|
home-manager.url = "github:nix-community/home-manager";
|
2024-04-04 01:41:19 +02:00
|
|
|
};
|
2023-06-18 22:52:24 +02:00
|
|
|
|
2024-04-04 13:49:19 +02:00
|
|
|
outputs = { self, nixpkgs, impermanence, home-manager, ... }:
|
2024-04-04 01:41:19 +02:00
|
|
|
{
|
|
|
|
nixosConfigurations.workstation = nixpkgs.lib.nixosSystem {
|
2023-07-19 22:25:34 +02:00
|
|
|
system = "x86_64-linux";
|
2024-04-04 01:41:19 +02:00
|
|
|
modules = [
|
|
|
|
impermanence.nixosModules.impermanence
|
2024-04-04 13:49:19 +02:00
|
|
|
home-manager.nixosModules.home-manager
|
2024-04-04 01:41:19 +02:00
|
|
|
./machines/workstation.nix
|
2024-04-04 13:49:19 +02:00
|
|
|
./users/hu/user.nix
|
2024-04-04 01:41:19 +02:00
|
|
|
];
|
|
|
|
};
|
2023-06-18 22:52:24 +02:00
|
|
|
};
|
|
|
|
}
|