34 lines
857 B
Nix
34 lines
857 B
Nix
{
|
|
description = "Lavitz Configuration";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager/release-25.11";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
cosmic-manager = {
|
|
url = "github:HeitorAugustoLN/cosmic-manager";
|
|
inputs = {
|
|
nixpkgs.follows = "nixpkgs";
|
|
home-manager.follows = "home-manager";
|
|
};
|
|
};
|
|
};
|
|
|
|
outputs = { self, nixpkgs, home-manager, cosmic-manager, ... }@inputs:
|
|
let
|
|
settings = import ./settings.nix;
|
|
system = "x86_64-linux";
|
|
in {
|
|
nixosConfigurations."${settings.hostname}" = nixpkgs.lib.nixosSystem {
|
|
inherit system;
|
|
specialArgs = { inherit inputs; };
|
|
modules = [
|
|
./configuration.nix
|
|
home-manager.nixosModules.home-manager
|
|
];
|
|
};
|
|
};
|
|
}
|