-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
executable file
·59 lines (56 loc) · 1.41 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
{
inputs = {
hyprland.url = "github:hyprwm/Hyprland";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
chaotic.url = "github:chaotic-cx/nyx/nyxpkgs-unstable";
nur.url = "github:nix-community/NUR";
# Secrets management
sops-nix.url = "github:Mic92/sops-nix";
home-manager = {
url = "github:nix-community/home-manager/master";
inputs.nixpkgs.follows = "nixpkgs";
};
# The Chaotic toolbox
src-chaotic-toolbox = {
flake = false;
url = "github:chaotic-aur/toolbox";
};
src-repoctl = {
flake = false;
url = "github:cassava/repoctl";
};
# Automated system themes
stylix.url = "github:danth/stylix";
};
outputs = inputs @ {
self,
nixpkgs,
sops-nix,
chaotic,
hyprland,
home-manager,
nur,
stylix,
...
}: {
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = {inherit inputs;};
modules = [
nur.nixosModules.nur
home-manager.nixosModules.home-manager
sops-nix.nixosModules.sops
hyprland.nixosModules.default
stylix.nixosModules.stylix
{programs.hyprland.enable = true;}
./configuration.nix
chaotic.nixosModules.default # OUR DEFAULT MODULE
{
nixpkgs.config.permittedInsecurePackages = [
"openssl-1.1.1u"
];
}
];
};
};
}