-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
52 lines (50 loc) · 1.52 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
{
description = "NixOS";
inputs = {
ags.url = "github:Aylur/ags";
catppuccin.url = "github:catppuccin/nix";
color-schemes = {
url = "github:mbadolato/iTerm2-Color-Schemes";
flake = false;
};
home-manager = {
inputs.nixpkgs.follows = "nixpkgs";
url = "github:nix-community/home-manager/release-24.11";
};
ignis.url = "github:linkfrg/ignis";
hyprland = {
# https://github.com/hyprwm/Hyprland/issues/9820
# inputs.nixpkgs.follows = "nixpkgs";
# ref = "refs/tags/v0.41.0";
# submodules = true;
# type = "git";
url = "github:hyprwm/Hyprland";
};
hyprland-plugins = {
inputs.hyprland.follows = "hyprland";
url = "github:hyprwm/hyprland-plugins";
};
nixos-cosmic = {
inputs.nixpkgs.follows = "nixpkgs";
url = "github:lilyinstarlight/nixos-cosmic";
};
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs = inputs:
let
pkgs-unstable = import inputs.nixpkgs-unstable { inherit system; };
system = "x86_64-linux";
in {
nixosConfigurations.nixos = inputs.nixpkgs.lib.nixosSystem {
inherit system;
modules = [
./nixos.nix
inputs.catppuccin.nixosModules.catppuccin
inputs.home-manager.nixosModules.home-manager
inputs.nixos-cosmic.nixosModules.default
];
specialArgs = { inherit inputs; inherit pkgs-unstable; inherit system; };
};
};
}