2022-12-06 01:24:54 -05:00
|
|
|
{
|
2023-03-06 05:35:45 -05:00
|
|
|
description = "snowflake";
|
2023-04-23 17:45:37 -04:00
|
|
|
|
2022-12-06 01:24:54 -05:00
|
|
|
inputs = {
|
2023-04-23 21:41:20 -04:00
|
|
|
nixpkgs = {
|
|
|
|
url = "github:nixos/nixpkgs/nixos-unstable";
|
|
|
|
};
|
|
|
|
hyprland = {
|
|
|
|
url = "github:hyprwm/Hyprland";
|
2022-12-14 19:26:48 -05:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
2023-04-23 17:45:37 -04:00
|
|
|
};
|
2023-04-26 19:42:28 -04:00
|
|
|
deploy-rs = {
|
|
|
|
url = "github:serokell/deploy-rs";
|
2023-05-16 21:10:57 -04:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
2023-04-26 19:42:28 -04:00
|
|
|
};
|
|
|
|
sops-nix = {
|
|
|
|
url = "github:Mic92/sops-nix";
|
2023-05-16 21:10:57 -04:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
home-manager = {
|
|
|
|
url = "github:nix-community/home-manager";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
disko = {
|
|
|
|
url = "github:nix-community/disko";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
2023-04-26 19:42:28 -04:00
|
|
|
};
|
2022-12-06 01:24:54 -05:00
|
|
|
};
|
2023-04-23 17:45:37 -04:00
|
|
|
outputs = {
|
|
|
|
self,
|
|
|
|
nixpkgs,
|
|
|
|
...
|
|
|
|
} @ inputs: let
|
|
|
|
system = "x86_64-linux";
|
2023-04-23 22:22:16 -04:00
|
|
|
pkgs = import nixpkgs {
|
|
|
|
inherit system;
|
|
|
|
};
|
2023-04-23 17:45:37 -04:00
|
|
|
in {
|
2023-04-23 22:22:16 -04:00
|
|
|
devShells.${system}.default = pkgs.mkShell {
|
|
|
|
name = "snowflake";
|
|
|
|
packages = with pkgs; [
|
|
|
|
nil
|
2023-04-26 20:50:07 -04:00
|
|
|
yaml-language-server
|
2023-04-23 22:22:16 -04:00
|
|
|
alejandra
|
|
|
|
git
|
2023-05-15 00:14:30 -04:00
|
|
|
sops
|
2023-04-26 17:34:08 -04:00
|
|
|
deploy-rs
|
2023-04-23 22:22:16 -04:00
|
|
|
];
|
|
|
|
};
|
|
|
|
formatter.${system} = pkgs.alejandra;
|
2023-05-14 23:33:20 -04:00
|
|
|
deploy = import ./hosts/deploy.nix inputs;
|
2023-05-12 05:32:44 -04:00
|
|
|
nixosConfigurations = import ./hosts inputs;
|
2023-04-23 17:45:37 -04:00
|
|
|
};
|
2022-12-06 01:24:54 -05:00
|
|
|
}
|