nix/flake.nix

27 lines
632 B
Nix

{
description = "My systems installation";
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, home-manager, ... }@inputs:
let
stateVersion = "23.05";
in rec {
nixosConfigurations = {
mrmeeseeks = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = {
inherit stateVersion;
};
modules = [
./hosts/mrmeeseeks/configuration.nix
home-manager.nixosModule
];
};
};
};
}