nyx/flake.nix

81 lines
2.1 KiB
Nix
Raw Normal View History

2024-08-30 17:38:37 +00:00
{
description = "Elissa's funny little flake";
2024-08-30 17:38:37 +00:00
nixConfig = {
extra-substituters = [
"https://nix-community.cachix.org"
"https://nixpkgs-unfree.cachix.org"
2024-08-30 17:38:37 +00:00
"https://hyprland.cachix.org/"
"https://anyrun.cachix.org"
2024-08-30 17:38:37 +00:00
];
extra-trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"nixpkgs-unfree.cachix.org-1:hqvoInulhbV4nJ9yJOEr+4wxhDV4xq2d1DK7S6Nj6rs="
2024-08-30 17:38:37 +00:00
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
"anyrun.cachix.org-1:pqBobmOjI7nKlsUMV25u9QHa9btJK65/C8vnO3p346s="
2024-08-30 17:38:37 +00:00
];
auto-optimise-store = true;
};
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
chaotic.url = "github:chaotic-cx/nyx/nyxpkgs-unstable";
2024-09-03 13:26:27 +00:00
ags = {
url = "github:Aylur/ags";
inputs.nixpkgs.follows = "nixpkgs";
};
2024-08-30 17:38:37 +00:00
2024-09-07 15:49:09 +00:00
matugen.url = "github:InioX/matugen?ref=v2.2.0";
2024-08-30 22:10:17 +00:00
spicetify-nix = {
url = "github:Gerg-L/spicetify-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
2024-08-30 17:38:37 +00:00
sops-nix = {
url = "github:Mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
2024-10-13 17:04:01 +00:00
catppuccin = {
url = "github:catppuccin/nix";
inputs.nixpkgs.follows = "nixpkgs";
};
hyprland.url = "github:hyprwm/Hyprland";
2024-08-30 17:38:37 +00:00
};
outputs = { self, nixpkgs, chaotic, home-manager, ... }@inputs:
let
system = "x86_64-linux";
in {
nixosConfigurations = {
nyx = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; };
modules = [
./hosts/nyx/configuration.nix
inputs.home-manager.nixosModules.default
chaotic.nixosModules.default
];
};
2024-09-07 15:49:09 +00:00
helios = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; };
modules = [
./hosts/helios/configuration.nix
# inputs.home-manager.nixosModules.default
2024-09-07 15:49:09 +00:00
chaotic.nixosModules.default
];
};
2024-08-30 17:38:37 +00:00
};
};
}