-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathflake.nix
74 lines (68 loc) · 2.02 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
{
description = "My NixOS configurations";
outputs =
inputs@{ nixos-ez-flake, flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } rec {
flake.moduleTree = nixos-ez-flake.mkModuleTree ./modules;
imports = nixos-ez-flake.importsFromAttrs { modules = flake.moduleTree.flake-parts; };
_module.args = {
__findFile = _: s: ./${s};
flake-url = "github:name-snrl/nixos-configuration";
};
};
inputs = {
# single lines
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
chaotic.url = "github:chaotic-cx/nyx/nyxpkgs-unstable";
impermanence.url = "github:nix-community/impermanence";
nixos-ez-flake.url = "github:name-snrl/nixos-ez-flake";
dots = {
url = "github:name-snrl/home";
flake = false;
};
# packages
nvim = {
url = "github:name-snrl/nvim";
inputs.nixpkgs.follows = "nixpkgs";
};
neovim-nightly-overlay = {
url = "github:nix-community/neovim-nightly-overlay";
inputs.nixpkgs.follows = "nixpkgs";
};
graphite-gtk = {
url = "github:vinceliuice/graphite-gtk-theme";
flake = false;
};
graphite-kde = {
flake = false;
url = "github:vinceliuice/graphite-kde-theme";
};
nix-index-db = {
url = "github:nix-community/nix-index-database";
inputs.nixpkgs.follows = "nixpkgs";
};
# nixos modules
home-manager = {
url = "github:nix-community/home-manager/master";
inputs.nixpkgs.follows = "nixpkgs";
};
disko = {
url = "github:nix-community/disko/latest";
inputs.nixpkgs.follows = "nixpkgs";
};
# flake modules
flake-parts = {
url = "github:hercules-ci/flake-parts";
inputs.nixpkgs-lib.follows = "nixpkgs";
};
treefmt-nix = {
url = "github:numtide/treefmt-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
git-hooks-nix = {
url = "github:cachix/git-hooks.nix";
inputs.nixpkgs.follows = "nixpkgs";
inputs.nixpkgs-stable.follows = "nixpkgs";
};
};
}