-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
69 lines (57 loc) · 1.83 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
{
description = "Personal Computer Configuration Options";
# To update inputs:
# $ nix flake update --recreate-lock-file
inputs = {
# Nixpkgs
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs-stable.url = "github:NixOS/nixpkgs/release-24.05";
# Misc. utilities
flake-parts.url = "github:hercules-ci/flake-parts";
flake-parts.inputs.nixpkgs-lib.follows = "nixpkgs";
nixos-generators = {
url = "github:nix-community/nixos-generators";
inputs.nixpkgs.follows = "nixpkgs";
inputs.nixlib.follows = "nixpkgs";
};
flake-registry.url = "github:NixOS/flake-registry";
flake-registry.flake = false;
# Hardware Configuration
nixos-hardware.url = "github:NixOS/nixos-hardware";
disko.url = "github:nix-community/disko";
disko.inputs.nixpkgs.follows = "nixpkgs";
kmonad = {
url = "git+https://github.com/kmonad/kmonad?submodules=1&dir=nix";
inputs.nixpkgs.follows = "nixpkgs";
};
# Secrets Management
agenix.url = "github:ryantm/agenix";
sops-nix = {
url = "github:Mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs";
inputs.nixpkgs-stable.follows = "nixpkgs-stable";
};
# dotfile Management
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
# Override Flakes
nixGL = {
url = "github:nix-community/nixGL";
};
# Themes
catppuccin.url = "github:catppuccin/nix";
};
outputs = { flake-parts, ... } @ inputs:
(flake-parts.lib.evalFlakeModule { inherit inputs; }
({ self, inputs, ... }: {
systems = [ "x86_64-linux" "aarch64-linux" "aarch64-darwin" ];
imports = [
# ./devShells/flake-module.nix
# ./pkgs/flake-module.nix
./nix/devshell.nix
./configurations.nix
];
})).config.flake;
}