-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
63 lines (60 loc) · 1.69 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
{
description = "NC's flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
# nixpkgs-23_11.url = "github:nixos/nixpkgs/nixos-23.11";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-colors.url = "github:misterio77/nix-colors";
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
# hyprpaper = {
# url = "github:hyprwm/hyprpaper";
# inputs.nixpkgs.follows = "nixpkgs";
# };
hyprland-plugins = {
url = "github:hyprwm/hyprland-plugins";
inputs.hyprland.follows = "hyprland";
};
stylix.url = "github:danth/stylix";
};
outputs = {
nixpkgs,
# nixpkgs-23_11,
...
} @ inputs: let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in
# pkgs-23_11 = nixpkgs-23_11.legacyPackages.${system};
{
# imports = [./modules/nixos/bazecor];
nixosConfigurations.default = nixpkgs.lib.nixosSystem {
specialArgs = {
inherit inputs;
};
modules = [
./hosts/default/configuration.nix
inputs.stylix.nixosModules.stylix
inputs.home-manager.nixosModules.default
{
home-manager = {
extraSpecialArgs = {
inherit inputs;
};
users = {
"nicolas" = import ./hosts/default/home.nix;
};
useGlobalPkgs = true;
};
}
(
{pkgs, ...}: {
# nixpkgs.overlays = [(self: super: {wireplumber = pkgs-23_11.wireplumber;})];
}
)
];
};
};
}