49 lines
1.1 KiB
Nix
49 lines
1.1 KiB
Nix
{
|
|
description = "Lavitz Configuration";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";
|
|
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager/release-25.11";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
outputs =
|
|
{
|
|
self,
|
|
nixpkgs,
|
|
nixpkgs-unstable,
|
|
home-manager,
|
|
...
|
|
}@inputs:
|
|
let
|
|
settings = import ./settings.nix;
|
|
system = "x86_64-linux";
|
|
overlay-unstable = final: prev: {
|
|
unstable = import nixpkgs-unstable {
|
|
inherit system;
|
|
config.allowUnfree = true;
|
|
};
|
|
};
|
|
in
|
|
{
|
|
nixosConfigurations."${settings.hostname}" = nixpkgs.lib.nixosSystem {
|
|
inherit system;
|
|
specialArgs = { inherit inputs; };
|
|
modules = [
|
|
(
|
|
{ ... }:
|
|
{
|
|
nixpkgs.overlays = [ overlay-unstable ];
|
|
}
|
|
)
|
|
./configuration.nix
|
|
home-manager.nixosModules.home-manager
|
|
];
|
|
};
|
|
};
|
|
}
|