-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
108 lines (107 loc) · 3.82 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 = "sandptel's Hyprland Dots";
inputs = {
Hyprspace = {
url = "github:KZDKM/Hyprspace/e2d561c933cd085d68bf0b39c4f78870ad0abbc2";
# Hyprspace uses latest Hyprland. We declare this to keep them in sync.
inputs.hyprland.follows = "hyprland";
};
nix-gaming.url = "github:fufexan/nix-gaming";
# hellwal.url = "github:sandptel/hellwal";
nixvim = {
url = "github:nix-community/nixvim/";
inputs.nixpkgs.follows = "nixpkgs";
};
matugen = {
url = "github:/InioX/Matugen";
};
elanmoc2.url= github:sandptel/elanmoc2;
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
chaotic.url = "github:chaotic-cx/nyx/nyxpkgs-unstable";
# hyprsplit.url = "github:shezdy/hyprsplit";
#wallust.url = "git+https://codeberg.org/explosion-mental/wallust?ref=dev";
hyprland-plugins = {
url = "github:hyprwm/hyprland-plugins";
inputs.hyprland.follows = "hyprland";
};
hyprchroma = {
url = "github:alexhulbert/Hyprchroma";
inputs.hyprland.follows = "hyprland";
};
hyprpanel = {
url = "github:Jas-SinghFSU/HyprPanel";
# inputs.nixpkgs.follows = "nixpkgs";
};
hyprland.url = "github:hyprwm/Hyprland/cef5e6dd7ca7008456cf63a76776550974de1612"; # hyprland development
# distro-grub-themes.url = "github:AdisonCavani/distro-grub-themes";
nixos-grub-themes.url = "github:jeslie0/nixos-grub-themes";
grub2-themes = {
url = "github:vinceliuice/grub2-themes";
};
#hypr-contrib.url = "github:hyprwm/contrib";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-init = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
# home-manager.url = "github:nix-community/home-manager/master";
# home-manager.inputs.nixpkgs.follows = "nixpkgs";
stylix.url = "github:danth/stylix";
wezterm.url = "github:wez/wezterm?dir=nix";
spicetify-nix = {
url = "github:Gerg-L/spicetify-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
hypr-dynamic-cursors = {
url = "github:VirtCode/hypr-dynamic-cursors/37c770dfb0667179174b26ba5b45618f1c2dd10b";
inputs.hyprland.follows = "hyprland"; # to make sure that the plugin is built for the correct version of hyprland
};
nixos-boot.url = "github:Melkor333/nixos-boot";
zen-browser.url = "github:sandptel/zen-browser-flake";
# url = "github:notashelf/nvf";
# inputs.nixpkgs.follows = "nixpkgs";
# };
};
outputs =
inputs @ { self
, nixpkgs
, ...
}:
let
system = "x86_64-linux";
host = "default";
username = "roronoa";
#defaultPackage.x86_64-linux = wezterm.packages.x86_64-linux.default;
pkgs = import nixpkgs { system = "x86_64-linux"; config.allowUnfree = true; };
in
{
nixosConfigurations = {
"${host}" = nixpkgs.lib.nixosSystem {
specialArgs = {
inherit system;
inherit inputs;
inherit username;
inherit host;
};
modules = [
./hosts/${host}/config.nix
inputs.nixos-boot.nixosModules.default
inputs.hyprland.nixosModules.default
# inputs.distro-grub-themes.nixosModules.${system}.default
inputs.grub2-themes.nixosModules.default
inputs.spicetify-nix.nixosModules.default
inputs.chaotic.nixosModules.default
inputs.elanmoc2.nixosModules.elanmoc2
inputs.nixvim.nixosModules.nixvim
# inputs.zen-browser.packages."${system}".generaic
#inputs.stylix.nixosModules.default
#inputs.catppuccin.homeManagerModules.catppuccin
{ nixpkgs.overlays = [ inputs.hyprpanel.overlay ]; }
];
};
};
};
}