nixos/flake.nix

44 lines
998 B
Nix
Raw Normal View History

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