-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathflake.nix
More file actions
83 lines (81 loc) · 3.06 KB
/
flake.nix
File metadata and controls
83 lines (81 loc) · 3.06 KB
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
{
# CEREAL REAL
description = "Max Hero's Nix Flakes";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
computador-do-brother.url = "github:TheCodeTherapy/Hephaestus";
computador-do-brother.inputs.nixpkgs.follows = "nixpkgs";
devenv.url = "github:cachix/devenv";
devenv.inputs.nixpkgs.follows = "nixpkgs";
nix-gaming.url = "github:fufexan/nix-gaming";
nix-gaming.inputs.nixpkgs.follows = "nixpkgs";
nix-doom-emacs.url = "github:nix-community/nix-doom-emacs";
nix-doom-emacs.inputs.nixpkgs.follows = "nixpkgs";
home-manager.url = "github:nix-community/home-manager/release-24.11";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
devshell.url = "github:numtide/devshell";
devshell.inputs.nixpkgs.follows = "nixpkgs";
nur.url = "github:nix-community/NUR";
emacs-overlay.url = "github:nix-community/emacs-overlay";
emacs-overlay.inputs.nixpkgs.follows = "nixpkgs";
chaotic.url = "github:chaotic-cx/nyx/nyxpkgs-unstable";
};
outputs = { self, nixpkgs, chaotic, home-manager, nix-doom-emacs, devenv, devshell, ... }@attrs:
rec {
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixpkgs-fmt;
mkHome = (import (self + /home/maxhero) attrs).mkHome;
mkSystem = (import (self + /modules) attrs).mkSystem;
nixosConfigurations = {
pc-do-brother = attrs.computador-do-brother.nixosConfigurations.threadripper;
maxhero-workstation = mkSystem {
enableBareMetal = true;
enableEmacs = true;
enableDevelopment = true;
enableGraphicalInterface = true;
enableGaming = true;
enableNetworking = true;
enableSound = true;
enableVFIO = true;
enableWireguard = false;
home = mkHome {
personal = true;
enableDoomEmacs = false;
enableDevelopment = true;
enableVSCode = false;
enableUI = true;
enableGaming = true;
};
extraModules = [
chaotic.nixosModules.default
(self + /systems/maxhero-workstation/configuration.nix)
(self + /systems/maxhero-workstation/hardware-configuration.nix)
({...}: { chaotic.mesa-git.enable = true; })
];
specialArgs = attrs;
};
uchigatana = mkSystem {
enableBareMetal = true;
enableDevelopment = true;
enableGraphicalInterface = true;
enableGaming = true;
enableNetworking = true;
enableSound = true;
enableVFIO = true;
enableWireguard = true;
home = mkHome {
personal = true;
enableVSCode = true;
enableDevelopment = true;
enableUI = true;
enableGaming = true;
};
extraModules = [
(self + /systems/uchigatana/configuration.nix)
(self + /systems/uchigatana/hardware-configuration.nix)
];
specialArgs = attrs;
};
};
};
}