nixos/flake.nix

47 lines
1.0 KiB
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-04-21 04:49:09 +00:00
nixpkgs.url = "github:nixos/nixpkgs?ref=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";
};
sops-nix.url = "github:Mic92/sops-nix";
2024-04-21 04:49:09 +00:00
flake-parts = {
url = "github:hercules-ci/flake-parts";
inputs.nixpkgs-lib.follows = "nixpkgs";
};
nix-gaming = {
url = "github:fufexan/nix-gaming";
inputs.flake-parts.follows = "flake-parts";
};
2024-03-18 11:58:34 +00:00
};
outputs =
{ self
, nixpkgs
, sops-nix
, ...
}@inputs:
let
system = "x86_64-linux";
user = "mbeno";
in
{
nixosConfigurations = {
zedd = nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = { inherit inputs self user sops-nix; };
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
sops-nix.nixosModules.sops
];
};
};
};
}