-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
101 lines (77 loc) · 2.67 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
95
96
97
98
99
100
101
{
inputs = {
# Principle inputs (updated by `nix run .#update`)
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
parts.url = "github:hercules-ci/flake-parts";
# nixos-flake.url = "github:srid/nixos-flake";
# The following is required to make flake-parts work.
nixpkgs.follows = "nixpkgs-unstable";
unstable.follows = "nixpkgs-unstable";
programsdb.url = "github:wamserma/flake-programs-sqlite";
programsdb.inputs.nixpkgs.follows = "unstable";
sops-nix.url = "github:Mic92/sops-nix";
sops-nix.inputs.nixpkgs.follows = "nixpkgs";
nixos-hardware.url = "github:NixOS/nixos-hardware";
# nixd.url = "github:nix-community/nixd";
# nuenv.url = "github:DeterminateSystems/nuenv";
# Fast nix search client
nix-search = {
url = "github:diamondburned/nix-search";
inputs.nixpkgs.follows = "nixpkgs";
};
# Neovim
neovim-nightly-overlay.url = "github:nix-community/neovim-nightly-overlay";
neovim-nightly-overlay.inputs.nixpkgs.follows = "nixpkgs";
# Minecraft
nix-minecraft.url = "github:Infinidoge/nix-minecraft";
nix-minecraft.inputs.nixpkgs.follows = "nixpkgs";
# hyprland
#hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
#hyprland.inputs.nixpkgs.follows = "nixpkgs";
hyprpaper.url = "github:hyprwm/hyprpaper";
hyprpicker.url = "github:hyprwm/hyprpicker";
hyprland-contrib = {
url = "github:hyprwm/contrib";
inputs.nixpkgs.follows = "nixpkgs";
};
disko = {
url = "github:nix-community/disko";
inputs.nixpkgs.follows = "nixpkgs";
};
catppuccin.url = "github:catppuccin/nix";
dotzsh.url = "github:number5/dotzsh";
dotzsh.flake = false;
};
outputs = {parts, ...} @ inputs:
parts.lib.mkFlake {inherit inputs;} {
systems = ["x86_64-linux"];
perSystem = {
config,
self',
inputs',
pkgs,
system,
...
}: {
# Per-system attributes can be defined here. The self' and inputs'
# module parameters provide easy access to attributes of the same
# system.
};
imports = [
./parts/auxiliary.nix
./parts/home_configs.nix
./parts/system_configs.nix
./nixos/configurations
./home/configurations
# ./packages
];
flake = {
nixosModules = import ./nixos/modules inputs;
homeModules = import ./home/modules inputs;
mixedModules = import ./mixed inputs;
checks.x86_64-linux = import ./checks inputs;
};
};
}