29 lines
681 B
Nix
29 lines
681 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;
|
|
hostname = "mrmeeseeks";
|
|
username = "ephase";
|
|
};
|
|
modules = [
|
|
./nixos/default.nix
|
|
home-manager.nixosModule
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|