-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
108 lines (85 loc) · 2.38 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
{
description = "";
inputs = {
# NixPkgs (nixos-24.05)
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
# NixPkgs Unstable (nixos-unstable)
unstable.url = "github:nixos/nixpkgs/nixos-unstable";
### Additional Inputs ###
# ags
ags.url = "github:Aylur/ags";
# Home Manager (release-24.05)
home-manager = {
url = "github:nix-community/home-manager/release-24.11";
inputs.nixpkgs.follows = "nixpkgs";
};
# Hardware Configuration
nixos-hardware.url = "github:nixos/nixos-hardware";
# Run unpatched dynamically compiled binaries
nix-ld = {
url = "github:Mic92/nix-ld";
inputs.nixpkgs.follows = "nixpkgs";
};
# Snowfall Lib
snowfall-lib = {
url = "github:snowfallorg/lib";
inputs.nixpkgs.follows = "nixpkgs";
};
# Stylix
stylix = {
# url = "github:danth/stylix";
url = "github:danth/stylix/release-24.11";
inputs.nixpkgs.follows = "nixpkgs";
};
# Hyprland
hyprland.url = "github:hyprwm/Hyprland";
# Hyprpanel
hyprpanel = {
url = "github:Jas-SinghFSU/HyprPanel";
#url = "github:Jas-SinghFSU/HyprPanel?ref=f21d70949f9f4426f39d12f542ec788d47330763";
inputs.nixpkgs.follows = "nixpkgs";
};
# Hyprswitch
# hyprswitch.url = "github:h3rmt/hyprswitch/release";
# Apple font
apple-fonts.url = "github:Lyndeno/apple-fonts.nix";
# Sops secrets management
sops-nix = {
url = "github:Mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
zen-browser = {
url = "github:0xc000022070/zen-browser-flake";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs =
inputs:
let
lib = inputs.snowfall-lib.mkLib {
inherit inputs;
src = ./.;
snowfall = {
meta = {
name = "zeus";
title = "NixOS config nicknamed Zeus";
};
namespace = "zeus";
};
};
in
lib.mkFlake {
inherit inputs;
src = ./.;
channels-config = {
allowUnfree = true;
permittedInsecurePackages = [ ];
};
overlays = with inputs; [ hyprpanel.overlay ];
systems.modules.nixos = with inputs; [ ];
systems.hosts.athena.modules = with inputs; [
nixos-hardware.nixosModules.lenovo-yoga-7-14ARH7-nvidia
];
templates = import ./templates { };
};
}