-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
83 lines (74 loc) · 1.98 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 = "My personal config";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; # Unstable Nix Packages
# remove this later on
nixos-hardware.url = "github:nixos/nixos-hardware"; # Hardware Specific Configurations
home-manager = {
# User Environment Manager
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
hyprland = {
# Official Hyprland Flake
url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
# url = "github:hyprwm/Hyprland"; # Requires "hyprland.nixosModules.default" to be added the host modules
inputs.nixpkgs.follows = "nixpkgs";
};
ags-nix = {
url = "github:nixos/nixpkgs?ref=nixos-24.11";
};
ags = {
# url = "github:aylur/ags";
url = "github:aylur/ags/bb91f7c8fdd2f51c79d3af3f2881cacbdff19f60";
inputs.nixpkgs.follows = "ags-nix";
# flake = false;
};
# astal = {
# url = "github:aylur/astal";
# inputs.nixpkgs.follows = "nixpkgs";
# };
# zellij = {
# url = "github:zellij-org/zellij/4ac7d0865891ac06d10b9a45d467249f105bd29e";
# # url = "github:zellij-org/zellij";
# flake = false;
# };
#
# termusic = {
# url = "github:tramhao/termusic/8ba411e00db4aca80f55305614db0c14c372";
# flake = false;
# };
};
outputs =
{
self,
nixpkgs,
nixos-hardware,
home-manager,
...
}@inputs:
let
vars = {
user = "rwan";
terminal = "kitty";
editor = "nvim";
};
overlays = import ./overlays { inherit inputs; };
in
{
nixosConfigurations = (
import ./core {
inherit (nixpkgs) lib;
inherit
inputs
nixpkgs
home-manager
vars
overlays
;
inherit nixos-hardware;
}
);
templates = import ./shells/shells.nix;
};
}