dotfiles/nix/flake.nix
2025-04-20 03:03:22 +02:00

50 lines
1.1 KiB
Nix

{
description = "Marm's NixOS flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
nur = {
inputs.nixpkgs.follows = "nixpkgs";
url = "github:nix-community/NUR";
};
};
outputs = { self, nixpkgs, nur, ... } @ inputs:
let
inherit (self) outputs; # outputs = self.outputs;
in
{
nixosConfigurations = {
lamarr = nixpkgs.lib.nixosSystem {
specialArgs = {
inherit inputs outputs;
hostname = "lamarr";
};
modules = [
./configuration.nix
nur.modules.nixos.default
];
};
chell = nixpkgs.lib.nixosSystem {
specialArgs = {
inherit inputs outputs;
hostname = "chell";
};
modules = [
./configuration.nix
nur.modules.nixos.default
];
};
kleiner = nixpkgs.lib.nixosSystem {
specialArgs = {
inherit inputs outputs;
hostname = "kleiner";
};
modules = [
./kleiner.nix
];
};
};
};
}