-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathflake.nix
62 lines (60 loc) · 1.81 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
{
description = "ymstnt's NixOS configuration";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-24.05";
nixpkgs-master.url = "github:NixOS/nixpkgs/master";
nixpkgs-develop.url = "github:ymstnt/nixpkgs/master";
lix-module = {
url = "https://git.lix.systems/lix-project/nixos-module/archive/stable.tar.gz";
inputs.nixpkgs.follows = "nixpkgs";
};
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
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 = "";
};
nix-matlab = {
url = "gitlab:doronbehar/nix-matlab";
inputs.nixpkgs.follows = "nixpkgs";
};
nixos-cosmic = {
url = "github:lilyinstarlight/nixos-cosmic";
inputs.nixpkgs.follows = "nixpkgs";
};
cosmic-manager = {
url = "github:HeitorAugustoLN/cosmic-manager";
inputs.nixpkgs.follows = "nixpkgs";
inputs.home-manager.follows = "home-manager";
};
};
outputs = { self, nixpkgs, lix-module, home-manager, cosmic-manager, ... } @inputs: {
nixosConfigurations =
let
#inherit (self) outputs;
mkSystem = host: nixpkgs.lib.nixosSystem {
modules = [
./overlays
lix-module.nixosModules.lixFromNixpkgs
home-manager.nixosModule
host
];
specialArgs = inputs;
};
in
{
andromeda = mkSystem ./hosts/andromeda;
cassiopeia = mkSystem ./hosts/cassiopeia;
};
nixosModules = import ./modules;
};
}