-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
executable file
·43 lines (38 loc) · 1.13 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
{
description = "Nojipiz's systems configuration";
inputs = {
nixpkgs.url = "nixpkgs/nixos-24.11";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager/release-24.11";
inputs.nixpkgs.follows = "nixpkgs";
};
prismlauncher.url = "github:PrismLauncher/PrismLauncher";
};
outputs = { nixpkgs, home-manager, nixpkgs-unstable, ... }:
let
system = "x86_64-linux";
overlay-unstable = final: prev: {
unstable = import nixpkgs-unstable {
inherit system;
config.allowUnfree = true;
};
};
in
{
nixosConfigurations = {
NixosWayland = import ./host/blue-bird/nixos-wayland.nix {
inherit nixpkgs system home-manager overlay-unstable;
};
NixosX11 = import ./host/blue-bird/nixos-x11.nix {
inherit nixpkgs system home-manager overlay-unstable;
};
WSL = import ./host/wolf-sea-lion/default.nix {
inherit nixpkgs system home-manager overlay-unstable;
};
Darwin = nixpkgs.lib.nixosSystem {
# TODO: Implement this
};
};
};
}