2023-10-28 23:16:29 +02:00
|
|
|
{
|
|
|
|
description = "Nixos config";
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
nixpkgs = {
|
|
|
|
url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
|
|
};
|
|
|
|
home-manager = {
|
|
|
|
url = "github:nix-community/home-manager";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
nix-software-center.url = "github:vlinkz/nix-software-center";
|
|
|
|
devenv.url = "github:cachix/devenv";
|
|
|
|
};
|
|
|
|
|
2023-10-28 23:51:26 +02:00
|
|
|
outputs = { self, nixpkgs, home-manager, ... }@inputs:
|
|
|
|
let
|
2023-10-28 23:16:29 +02:00
|
|
|
system = "x86_64-linux";
|
2023-10-28 23:51:26 +02:00
|
|
|
in
|
|
|
|
{
|
|
|
|
nixosConfigurations.thilo-pc = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
modules = [
|
|
|
|
home-manager.nixosModules.home-manager
|
|
|
|
./configs/thilo-pc/nixos.nix
|
|
|
|
./configs/thilo-pc/home.nix
|
|
|
|
];
|
|
|
|
specialArgs = { inherit inputs; };
|
|
|
|
};
|
2023-10-28 23:16:29 +02:00
|
|
|
};
|
|
|
|
}
|