-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
executable file
·94 lines (76 loc) · 2.09 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
nixos-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs-unstable";
};
papes = {
url = "github:emanueljg/papes";
flake = false;
};
discordo = {
url = "github:emanueljg/discordo?ref=add-flake";
};
sops-nix = {
url = "github:Mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
disko = {
url = "github:nix-community/disko";
inputs.nixpkgs.follows = "nixpkgs";
};
pre-commit-hooks = {
url = "github:cachix/pre-commit-hooks.nix";
inputs.nixpkgs.follows = "nixpkgs";
};
nixos-hardware = {
url = "github:NixOS/nixos-hardware";
};
hyprlandNixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
hyprland = {
type = "git";
url = "https://github.com/hyprwm/Hyprland";
ref = "refs/tags/v0.43.0";
submodules = true;
inputs.nixpkgs.follows = "hyprlandNixpkgs";
};
hy3 = {
url = "github:outfoxxed/hy3?ref=hl0.43.0";
inputs.hyprland.follows = "hyprland";
};
nixGL = {
url = "github:nix-community/nixGL";
};
configuranix = {
url = "github:emanueljg/configuranix";
};
yt-dlp-web-ui = {
url = "github:emanueljg/yt-dlp-web-ui?ref=add-nix";
};
archiver = {
url = "path:/home/ejg/archiver";
};
};
outputs = inputs @ { self, flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
imports = [
inputs.configuranix.flakeModules.default
];
systems = [ "x86_64-linux" ];
configuranix = {
enable = true;
nixos.inputs = {
nixpkgs = inputs.nixos-unstable;
};
home.inputs = {
inherit (inputs) home-manager nixos-unstable;
};
};
perSystem = { config, self', inputs', pkgs, system, ... }: {
formatter = pkgs.nixpkgs-fmt;
};
};
}