43 lines
834 B
Nix
43 lines
834 B
Nix
{
|
|
description = "Benny nixos config flake";
|
|
|
|
inputs = {
|
|
# nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
# ...
|
|
|
|
|
|
# Optional - updates underlying without waiting for nix-citizen to update
|
|
|
|
};
|
|
|
|
outputs =
|
|
{ self
|
|
, nixpkgs
|
|
, home-manager
|
|
, ...
|
|
}@inputs:
|
|
let
|
|
system = "x86_64-linux";
|
|
user = "mbeno";
|
|
in
|
|
{
|
|
nixosConfigurations = {
|
|
|
|
|
|
zedd = nixpkgs.lib.nixosSystem {
|
|
inherit system;
|
|
specialArgs = { inherit inputs self user; };
|
|
modules = [
|
|
({ config, pkgs, ... }: { })
|
|
./hosts/zedd
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|