-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflake.nix
More file actions
61 lines (50 loc) · 1.85 KB
/
flake.nix
File metadata and controls
61 lines (50 loc) · 1.85 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
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
nix-darwin.url = "github:nix-darwin/nix-darwin/master";
nix-darwin.inputs.nixpkgs.follows = "nixpkgs";
nixos-wsl.url = "github:nix-community/NixOS-WSL/main";
nixos-wsl.inputs.nixpkgs.follows = "nixpkgs";
disko.url = "github:nix-community/disko";
disko.inputs.nixpkgs.follows = "nixpkgs";
disko-zfs.url = "github:numtide/disko-zfs";
disko-zfs.inputs.nixpkgs.follows = "nixpkgs";
disko-zfs.inputs.disko.follows = "disko";
agenix.url = "github:ryantm/agenix";
agenix.inputs.nixpkgs.follows = "nixpkgs";
hjem.url = "github:feel-co/hjem";
hjem.inputs.nixpkgs.follows = "nixpkgs";
nix-homebrew.url = "github:zhaofengli/nix-homebrew";
homebrew-core.url = "github:homebrew/homebrew-core";
homebrew-core.flake = false;
homebrew-cask.url = "github:homebrew/homebrew-cask";
homebrew-cask.flake = false;
};
outputs = inputs: {
nixosConfigurations."idoragya" = inputs.nixpkgs.lib.nixosSystem {
modules = [
inputs.hjem.nixosModules.default
inputs.nixos-wsl.nixosModules.default
./hosts/idoragya
];
};
nixosConfigurations."qualia" = inputs.nixpkgs.lib.nixosSystem {
modules = [
inputs.disko.nixosModules.disko
inputs.disko-zfs.nixosModules.default
inputs.agenix.nixosModules.default
inputs.hjem.nixosModules.default
./hosts/qualia
];
};
darwinConfigurations."etrokwal" = inputs.nix-darwin.lib.darwinSystem {
modules = [
inputs.nix-homebrew.darwinModules.nix-homebrew
inputs.hjem.darwinModules.default
./hosts/etrokwal
];
};
formatter.aarch64-darwin = inputs.nixpkgs.legacyPackages.aarch64-darwin.alejandra;
formatter.x86_64-linux = inputs.nixpkgs.legacyPackages.x86_64-linux.alejandra;
};
}