-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathflake.nix
More file actions
67 lines (65 loc) · 1.72 KB
/
flake.nix
File metadata and controls
67 lines (65 loc) · 1.72 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
{
description = "ymstnt's NixOS configuration";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-25.05";
nixpkgs-master.url = "github:NixOS/nixpkgs/master";
nixpkgs-develop.url = "github:ymstnt/nixpkgs/master";
nixpkgs-patcher.url = "github:gepbird/nixpkgs-patcher";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
cosmic-manager = {
url = "github:HeitorAugustoLN/cosmic-manager";
inputs = {
nixpkgs.follows = "nixpkgs";
home-manager.follows = "home-manager";
};
};
nur = {
url = "github:nix-community/NUR";
inputs.nixpkgs.follows = "nixpkgs";
};
agenix = {
url = "github:ryantm/agenix";
inputs.nixpkgs.follows = "nixpkgs";
inputs.home-manager.follows = "home-manager";
inputs.darwin.follows = "";
};
nixpkgs-patch-hytale-launcher = {
url = "https://github.com/NixOS/nixpkgs/pull/479368.diff";
flake = false;
};
};
outputs =
{
self,
nixpkgs,
nixpkgs-patcher,
home-manager,
cosmic-manager,
...
}@inputs:
{
nixosConfigurations =
let
#inherit (self) outputs;
mkSystem =
host:
nixpkgs-patcher.lib.nixosSystem {
modules = [
./overlays
home-manager.nixosModules.default
host
];
specialArgs = inputs;
};
in
{
andromeda = mkSystem ./hosts/andromeda;
cassiopeia = mkSystem ./hosts/cassiopeia;
};
nixosModules = import ./modules;
};
}