-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
75 lines (73 loc) · 2.47 KB
/
flake.nix
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
{
description = "System configuration for raspi-doboz server";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
agenix = {
url = "github:ryantm/agenix";
inputs.nixpkgs.follows = "nixpkgs";
inputs.home-manager.follows = "home-manager";
inputs.systems.follows = "systems";
inputs.darwin.follows = "";
};
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
moe = {
url = "github:ymstnt-com/moe";
# TODO: uncomment when fixed: https://github.com/NixOS/nixpkgs/issues/347310
#inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils";
};
lix-module = {
url = "https://git.lix.systems/lix-project/nixos-module/archive/stable.tar.gz";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils";
};
gep-dotfiles = {
url = "github:gepbird/dotfiles/nixos";
inputs.nixpkgs.follows = "nixpkgs";
inputs.agenix.follows = "agenix";
inputs.home-manager.follows = "home-manager";
inputs.systems.follows = "systems";
inputs.flake-utils.follows = "flake-utils";
inputs.nix-matlab.follows = "";
inputs.dwm-gep.follows = "";
inputs.lix-module.follows = "lix-module";
};
ymstnt-dotfiles = {
url = "github:ymstnt/dotfiles/main";
inputs.nixpkgs.follows = "nixpkgs";
inputs.agenix.follows = "agenix";
inputs.home-manager.follows = "home-manager";
inputs.nix-matlab.follows = "";
inputs.nixpkgs-master.follows = "";
inputs.nixpkgs-develop.follows = "";
inputs.nixpkgs-stable.follows = "";
inputs.nixos-cosmic.follows = "";
inputs.lix-module.follows = "";
inputs.winapps.follows = "";
};
# dependencies of the above modules
systems.url = "github:nix-systems/default";
flake-utils = {
url = "github:numtide/flake-utils";
inputs.systems.follows = "systems";
};
};
outputs =
inputs: with inputs; {
nixosConfigurations.raspi-doboz = nixpkgs.lib.nixosSystem {
modules = [
nixos-hardware.nixosModules.raspberry-pi-4
agenix.nixosModules.default
home-manager.nixosModule
moe.nixosModule
lix-module.nixosModules.lixFromNixpkgs
./hosts/raspi-doboz/configuration.nix
];
specialArgs = inputs;
};
};
}