mirror of
https://github.com/blahai/nyx.git
synced 2025-01-18 11:00:20 +00:00
109 lines
3 KiB
Nix
109 lines
3 KiB
Nix
{
|
|
description = "Elissa's funny little flake";
|
|
|
|
nixConfig = {
|
|
extra-substituters = [
|
|
"https://nix-community.cachix.org"
|
|
"https://nixpkgs-unfree.cachix.org"
|
|
"https://hyprland.cachix.org/"
|
|
"https://anyrun.cachix.org"
|
|
"https://wezterm.cachix.org"
|
|
"https://hydra.nixos.org/"
|
|
];
|
|
extra-trusted-public-keys = [
|
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
|
"nixpkgs-unfree.cachix.org-1:hqvoInulhbV4nJ9yJOEr+4wxhDV4xq2d1DK7S6Nj6rs="
|
|
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
|
"anyrun.cachix.org-1:pqBobmOjI7nKlsUMV25u9QHa9btJK65/C8vnO3p346s="
|
|
"wezterm.cachix.org-1:kAbhjYUC9qvblTE+s7S+kl5XM1zVa4skO+E/1IDWdH0="
|
|
"hydra.nixos.org-1:CNHJZBh9K4tP3EKF6FkkgeVYsS3ohTl+oS0Qa8bezVs="
|
|
];
|
|
|
|
auto-optimise-store = true;
|
|
};
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
|
chaotic.url = "github:chaotic-cx/nyx/nyxpkgs-unstable";
|
|
nur.url = "github:nix-community/NUR";
|
|
|
|
lix-module = {
|
|
url = "https://git.lix.systems/lix-project/nixos-module/archive/2.91.1-1.tar.gz";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
ags = {
|
|
url = "github:Aylur/ags";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
matugen.url = "github:InioX/matugen?ref=v2.2.0";
|
|
|
|
spicetify-nix = {
|
|
url = "github:Gerg-L/spicetify-nix";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
disko = {
|
|
url = "github:nix-community/disko/master";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
sops-nix = {
|
|
url = "github:Mic92/sops-nix";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
wezterm.url = "github:wez/wezterm?dir=nix";
|
|
|
|
catppuccin = { url = "github:catppuccin/nix"; };
|
|
|
|
hyprland.url = "github:hyprwm/Hyprland";
|
|
|
|
zen-browser.url = "github:ch4og/zen-browser-flake";
|
|
|
|
};
|
|
|
|
outputs = { self, nixpkgs, chaotic, nur, home-manager, lix-module, disko, ... }@inputs:
|
|
let
|
|
system = "x86_64-linux";
|
|
in {
|
|
nixosConfigurations = {
|
|
nyx = nixpkgs.lib.nixosSystem {
|
|
specialArgs = { inherit inputs; };
|
|
modules = [
|
|
lix-module.nixosModules.default
|
|
./hosts/nyx/configuration.nix
|
|
inputs.home-manager.nixosModules.default
|
|
chaotic.nixosModules.default
|
|
];
|
|
};
|
|
|
|
# helios = nixpkgs.lib.nixosSystem {
|
|
# modules = [
|
|
# ./hosts/helios/configuration.nix
|
|
# # inputs.home-manager.nixosModules.default
|
|
# chaotic.nixosModules.default
|
|
# ];
|
|
# };
|
|
|
|
theia = nixpkgs.lib.nixosSystem {
|
|
modules = [
|
|
./hosts/theia/configuration.nix
|
|
disko.nixosModules.disko
|
|
];
|
|
};
|
|
|
|
epimetheus = nixpkgs.lib.nixosSystem {
|
|
modules = [
|
|
./hosts/epimetheus/configuration.nix
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|