1
Fork 0
nixos-system-config/flake.nix

22 lines
531 B
Nix
Raw Normal View History

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