dotfiles/nix/flake.nix

42 lines
877 B
Nix
Raw Normal View History

2025-03-27 01:08:55 +03:00
{
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
];
};
2025-03-27 01:08:55 +03:00
};
};
}