nixos/flake.nix

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