2024-11-22 00:58:04 -05:00
|
|
|
{
|
2024-11-22 20:46:58 -05:00
|
|
|
description = "cy's flake";
|
2024-11-22 00:58:04 -05:00
|
|
|
|
|
|
|
inputs = {
|
2024-11-22 20:46:58 -05:00
|
|
|
nixpkgs.url = "nixpkgs/nixos-unstable";
|
2024-11-23 21:41:28 -05:00
|
|
|
sops-nix = {
|
|
|
|
url = "github:Mic92/sops-nix";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2024-11-22 00:58:04 -05:00
|
|
|
};
|
|
|
|
|
2024-11-26 01:09:13 -05:00
|
|
|
outputs = { self, nixpkgs, sops-nix, ... }@inputs:
|
2024-11-22 00:58:04 -05:00
|
|
|
let
|
|
|
|
lib = nixpkgs.lib;
|
|
|
|
in {
|
|
|
|
nixosConfigurations = {
|
|
|
|
ytnix = lib.nixosSystem {
|
2024-11-26 01:09:13 -05:00
|
|
|
specialArgs = { inherit inputs; };
|
2024-11-23 20:47:43 -05:00
|
|
|
modules = [
|
|
|
|
./configuration.nix
|
2024-11-23 21:41:28 -05:00
|
|
|
sops-nix.nixosModules.sops
|
2024-11-23 20:47:43 -05:00
|
|
|
];
|
2024-11-22 00:58:04 -05:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|