-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
122 lines (105 loc) · 3.05 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
description = "Description for the project";
outputs = inputs@{ flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
debug = true;
imports = [
./parts/variables.nix
./modules
./pkgs
./devshells
./hosts
./templates
];
systems =
[ "x86_64-linux" "aarch64-linux" "aarch64-darwin" "x86_64-darwin" ];
# checkout `./parts/variables.nix` for more options
# do not use it directly change username and mail
flake.opts.wallpaper = ./wall.png;
};
inputs = {
flake-parts.url = "github:hercules-ci/flake-parts";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-24.05";
nur.url = "github:nix-community/NUR";
chaotic.url = "github:chaotic-cx/nyx/nyxpkgs-unstable";
impermanence.url = "github:nix-community/impermanence";
nix-gaming.url = "github:fufexan/nix-gaming";
# Mailspring Theme
mailspring-theme = {
url = "github:jpminor/mailspring-isaac-dark-theme";
flake = false;
};
# for taskwarrior NOTE: Fix it
poetry2nix = {
url = "github:nix-community/poetry2nix";
inputs.nixpkgs.follows = "nixpkgs";
};
syncall = {
url = "github:bergercookie/syncall";
flake = false;
};
# Hyprland
hyprland.url = "github:hyprwm/Hyprland";
hyprland-plugins = {
url = "github:hyprwm/hyprland-plugins";
inputs.hyprland.follows = "hyprland";
};
stylix = {
url = "github:danth/stylix";
inputs.home-manager.follows = "home-manager";
};
disko = {
url = "github:nix-community/disko";
inputs.nixpkgs.follows = "nixpkgs";
};
# My neovim config based on Nixvim
nvix.url = "github:niksingh710/nvix";
# For secrets management
sops-nix = {
url = "github:Mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
# For secure boot
lanzaboote = {
url = "github:nix-community/lanzaboote/v0.4.1";
inputs.nixpkgs.follows = "nixpkgs";
};
# Firefox theme
firefox-shyfox = {
url = "github:Naezr/ShyFox";
flake = false;
};
# Firefox addons
firefox-addons = {
url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
inputs.nixpkgs.follows = "nixpkgs";
};
minimal-tmux = {
url = "github:niksingh710/minimal-tmux-status";
inputs.nixpkgs.follows = "nixpkgs";
};
# Custom hyprland scripts
hyprland-contrib = {
url = "github:hyprwm/contrib";
inputs.nixpkgs.follows = "nixpkgs";
};
# My custom packages
bstat = {
url = "github:niksingh710/basic-battery-stat";
inputs.nixpkgs.follows = "nixpkgs";
};
nsearch = {
url = "github:niksingh710/nsearch";
inputs.nixpkgs.follows = "nixpkgs";
};
center-align = {
url = "github:niksingh710/center-align";
inputs.nixpkgs.follows = "nixpkgs";
};
};
}