-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
83 lines (70 loc) · 2.11 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
{
description = "std3's personnal Nix configuration";
inputs = {
# Nixpkgs
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.11";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
# Home manager
home-manager = {
url = "github:nix-community/home-manager/release-23.11";
inputs.nixpkgs.follows = "nixpkgs";
};
# Firefox extensions
firefox-addons = {
url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
inputs.nixpkgs.follows = "nixpkgs";
};
arkenfox = {
url = "github:dwarfmaster/arkenfox-nixos";
};
# Zellij plugins
zjstatus = {
url = "github:dj95/zjstatus";
};
# NixOS hardware
hardware.url = "github:nixos/nixos-hardware";
# Hyprland
hyprland.url = "github:hyprwm/Hyprland";
hyprlock = {
url = "github:hyprwm/hyprlock";
inputs.nixpkgs.follows = "nixpkgs";
};
hypridle = {
url = "github:hyprwm/hypridle";
inputs.nixpkgs.follows = "nixpkgs";
};
anyrun = {
url = "github:Kirottu/anyrun";
inputs.nixpkgs.follows = "nixpkgs";
};
# KDE
plasma-manager = {
url = "github:pjones/plasma-manager";
inputs.nixpkgs.follows = "nixpkgs";
inputs.home-manager.follows = "home-manager";
};
# Shameless plug: looking for a way to nixify your themes and make
# everything match nicely? Try nix-colors!
# nix-colors.url = "github:misterio77/nix-colors";
};
outputs = { self, hardware, nixpkgs, home-manager, plasma-manager, ... } @ inputs:
let
inherit (self) outputs;
in
{
formatter = nixpkgs.alejandra;
# Custom packages and modifications, exported as overlays
overlays = import ./overlays { inherit inputs; };
homeManagerModules = import ./modules/home-manager;
# NixOS configuration entrypoint
nixosConfigurations = {
jupiter = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs outputs; };
modules = [
hardware.nixosModules.tuxedo-infinitybook-pro14-gen7
./hosts/jupiter
];
};
};
};
}