nixos/flake.nix

44 lines
835 B
Nix
Raw Normal View History

2024-03-18 11:58:34 +00:00
{
description = "Benny nixos config flake";
inputs = {
# nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
2024-07-07 22:35:18 +00:00
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
2024-03-18 11:58:34 +00:00
home-manager = {
2024-04-21 04:49:09 +00:00
url = "github:nix-community/home-manager";
2024-03-18 11:58:34 +00:00
inputs.nixpkgs.follows = "nixpkgs";
};
2024-04-21 04:49:09 +00:00
2024-05-14 15:42:09 +00:00
# ...
# Optional - updates underlying without waiting for nix-citizen to update
2024-03-18 11:58:34 +00:00
};
outputs =
2024-07-08 12:09:21 +00:00
{ self
, nixpkgs
2024-07-07 22:05:51 +00:00
, home-manager
2024-03-18 11:58:34 +00:00
, ...
}@inputs:
let
system = "x86_64-linux";
user = "mbeno";
in
{
nixosConfigurations = {
2024-09-13 16:42:10 +00:00
2024-03-18 11:58:34 +00:00
zedd = nixpkgs.lib.nixosSystem {
inherit system;
2024-07-08 12:09:21 +00:00
specialArgs = { inherit inputs self user; };
2024-03-18 11:58:34 +00:00
modules = [
2024-04-21 04:49:09 +00:00
({ config, pkgs, ... }: { })
2024-03-18 12:11:31 +00:00
./hosts/zedd
2024-03-18 11:58:34 +00:00
];
};
};
};
}