-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathflake.nix
111 lines (85 loc) · 3.01 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
{
description = "Elyth's personal dotfile";
inputs = {
pre-commit-hooks.url = "github:cachix/pre-commit-hooks.nix";
pre-commit-hooks.inputs.nixpkgs.follows = "nixpkgs";
flake-parts.url = "github:hercules-ci/flake-parts";
# Nixpkgs Stable
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
# grub2 theme
grub2-themes.url = "github:vinceliuice/grub2-themes";
grub2-themes.inputs.nixpkgs.follows = "nixpkgs";
# Home-manager
hm.url = "github:nix-community/home-manager";
hm.inputs.nixpkgs.follows = "nixpkgs";
# secret management
sops-nix.url = "github:Mic92/sops-nix";
sops-nix.inputs.nixpkgs.follows = "nixpkgs";
# nix helper
nh.url = "github:viperML/nh";
nh.inputs.nixpkgs.follows = "nixpkgs";
# Nixos hardware
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
# Stylix, nix-colors alertnative
stylix.url = "github:danth/stylix";
stylix.inputs.nixpkgs.follows = "nixpkgs";
# Anyrun, an app launcher
anyrun.url = "github:Kirottu/anyrun";
anyrun.inputs.nixpkgs.follows = "nixpkgs";
# Ags, a customizable and extensible shell
ags.url = "github:Aylur/ags";
ags.inputs.nixpkgs.follows = "nixpkgs";
# waybar, a customizable wayland bar
waybar.url = "github:Alexays/Waybar";
waybar.inputs.nixpkgs.follows = "nixpkgs";
# Nix User Repository
nur.url = "github:nix-community/NUR";
# Hyprland, the modern compositor for wayland
# hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
# hyprland.inputs.nixpkgs.follows = "nixpkgs";
# Hyprspacem workspace overview plugin
# hyprspace.url = "github:KZDKM/Hyprspace";
# hyprspace.inputs.hyprland.follows = "hyprland";
# Hyprpaper, wallpaper manager for hyprland
hyprpaper.url = "github:hyprwm/hyprpaper";
# Spicetify, a spotify theming tool
spicetify.url = "github:Gerg-L/spicetify-nix";
spicetify.inputs.nixpkgs.follows = "nixpkgs";
# My personal nixvim config
nixvim.url = "github:elythh/nixvim/dev";
# Minecraft Servers
nix-minecraft.url = "github:Infinidoge/nix-minecraft";
# DELETEME: Zen
zen-browser.url = "github:0xc000022070/zen-browser-flake";
# Ghostty, the overhyped terminal
# ghostty.url = "github:ghostty-org/ghostty";
sss.url = "github:elythh/sss/fix-sga";
sss.inputs.nixpkgs.follows = "nixpkgs";
};
outputs =
inputs:
inputs.flake-parts.lib.mkFlake { inherit inputs; } {
systems = [ "x86_64-linux" ];
imports = [
./hosts
./pre-commit-hooks.nix
];
perSystem =
{ config, pkgs, ... }:
{
devShells.default = pkgs.mkShell {
packages = [
pkgs.nixfmt-rfc-style
pkgs.git
pkgs.nh
];
name = "dots";
DIRENV_LOG_FORMAT = "";
shellHook = ''
${config.pre-commit.installationScript}
'';
};
formatter = pkgs.nixfmt-rfc-style;
};
};
}