blob: d59dc526e7138416a7a2270f079316a7997f12f3 (
plain)
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
|
{
description = "Nix configuration";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05";
nix-darwin.url = "github:nix-darwin/nix-darwin/nix-darwin-25.05";
nix-darwin.inputs.nixpkgs.follows = "nixpkgs";
home-manager.url = "github:nix-community/home-manager/release-25.05";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
site.url = "github:schererleander/site";
neovim-nightly-overlay.url = "github:nix-community/neovim-nightly-overlay";
spicetify-nix.url = "github:Gerg-L/spicetify-nix";
nixcord.url = "github:kaylorben/nixcord";
firefox-addons.url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
mac-app-util.url = "github:hraban/mac-app-util";
};
outputs =
{ ... }@inputs:
let
linux-system = "x86_64-linux";
darwin-system = "aarch64-darwin";
username = "schererleander";
overlays = [
inputs.neovim-nightly-overlay.overlays.default
];
lib = import ./lib { inherit inputs; };
in
{
nixosConfigurations = {
adam = lib.mkSystem {
host = "adam";
username = "schererleander";
system = linux-system;
overlays = overlays;
};
sachiel = lib.mkSystem {
host = "sachiel";
username = "administrator";
system = linux-system;
extraModules = [
inputs.site.nixosModules.default
];
};
};
darwinConfigurations.lilith = lib.mkSystem {
host = "lilith";
username = username;
system = darwin-system;
overlays = overlays;
};
};
}
|