-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
36 lines (33 loc) · 1.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
{
# sudo nixos-rebuild switch --flake .
description = "NicolaiVdS NixOS Configuration.";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
hyprland.url = "github:hyprwm/Hyprland";
home-manager.url = "github:nix-community/home-manager";
alejandra.url = "github:kamadorueda/alejandra/3.0.0"; # The Uncompromising Nix Code Formatter.
hyprland-contrib.url = "github:hyprwm/contrib";
nur.url = "github:nix-community/NUR";
plugin-onedark = {
url = "github:navarasu/onedark.nvim";
flake = false;
};
orcaslicer.url = "github:ovlach/nix-orca-slicer";
};
outputs = {
nixpkgs,
self,
...
} @ inputs: let
username = "nicolaivds";
git_username = "NicolaiVdS";
git_email = "[email protected]";
selfPkgs = import ./pkgs;
in {
overlays.default = selfPkgs.overlay;
formatter.x86_64-linux = inputs.alejandra.defaultPackage.x86_64-linux;
nixosConfigurations = import ./modules/core/default.nix {
inherit self nixpkgs inputs username git_username git_email;
};
};
}