nixos/flake.nix

47 lines
1007 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-11-02 11:15:56 +00:00
url = "github:nix-community/home-manager/master";
2024-03-18 11:58:34 +00:00
inputs.nixpkgs.follows = "nixpkgs";
};
2024-10-31 12:14:45 +00:00
umu = {
url = "git+https://github.com/Open-Wine-Components/umu-launcher/?dir=packaging\/nix&submodules=1";
inputs.nixpkgs.follows = "nixpkgs";
};
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
];
};
};
};
}