nixos/flake.nix
2024-11-02 12:15:56 +01:00

47 lines
1007 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/master";
inputs.nixpkgs.follows = "nixpkgs";
};
umu = {
url = "git+https://github.com/Open-Wine-Components/umu-launcher/?dir=packaging\/nix&submodules=1";
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
];
};
};
};
}