-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflake.nix
More file actions
107 lines (90 loc) · 2.26 KB
/
Copy pathflake.nix
File metadata and controls
107 lines (90 loc) · 2.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
description = "Luna's server system configurations and modules";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
nixpkgs-stable.url = "github:nixos/nixpkgs?ref=nixos-24.05";
flake-parts.url = "github:hercules-ci/flake-parts";
hardware.url = "github:nixos/nixos-hardware";
srvos = {
url = "github:nix-community/srvos";
inputs.nixpkgs.follows = "nixpkgs";
};
disko = {
url = "github:nix-community/disko";
inputs.nixpkgs.follows = "nixpkgs";
};
colmena = {
url = "github:zhaofengli/colmena";
inputs = {
nixpkgs.follows = "nixpkgs";
stable.follows = "nixpkgs-stable";
};
};
sops-nix = {
url = "github:mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
eufy-security-ws = {
url = "github:bropat/eufy-security-ws";
flake = false;
};
hass-pyloxone = {
url = "github:jodehli/pyloxone";
flake = false;
};
hass-eufy_security = {
url = "github:fuatakgun/eufy_security";
flake = false;
};
nix-minecraft = {
url = "github:infinidoge/nix-minecraft";
inputs.nixpkgs.follows = "nixpkgs";
};
untis-ics-sync = {
url = "github:bddvlpr/untis-ics-sync";
inputs.nixpkgs.follows = "nixpkgs";
};
nixarr = {
url = "github:rasmus-kirk/nixarr";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs =
{ flake-parts, ... }@inputs:
flake-parts.lib.mkFlake { inherit inputs; } {
systems = [
"aarch64-linux"
"aarch64-darwin"
"x86_64-darwin"
"x86_64-linux"
];
imports = [
./checks/module.nix
./deployments/module.nix
./lib/module.nix
./modules/module.nix
./overlays/module.nix
./pkgs/module.nix
./systems/module.nix
];
perSystem =
{
pkgs,
inputs',
...
}:
{
formatter = pkgs.nixfmt-tree;
devShells.default =
let
inherit (inputs'.colmena.packages) colmena;
in
pkgs.mkShell {
buildInputs = with pkgs; [
sops
colmena
];
};
};
};
}