44 lines
929 B
Nix
44 lines
929 B
Nix
{
|
|
description = "Benny nixos config flake";
|
|
|
|
inputs = {
|
|
# nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
|
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
# ...
|
|
|
|
nix-citizen.url = "github:LovingMelody/nix-citizen";
|
|
|
|
# Optional - updates underlying without waiting for nix-citizen to update
|
|
|
|
};
|
|
|
|
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; };
|
|
modules = [
|
|
({ config, pkgs, ... }: { })
|
|
./hosts/zedd
|
|
sops-nix.nixosModules.sops
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|