nyx/flake.nix

125 lines
3.3 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-10-20 14:23:00 +00:00
"https://wezterm.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-10-20 14:23:00 +00:00
"wezterm.cachix.org-1:kAbhjYUC9qvblTE+s7S+kl5XM1zVa4skO+E/1IDWdH0="
2024-08-30 17:38:37 +00:00
];
auto-optimise-store = true;
};
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
nixpkgs-smol.url = "github:nixos/nixpkgs?ref=nixos-unstable-small";
2024-08-30 17:38:37 +00:00
chaotic.url = "github:chaotic-cx/nyx/nyxpkgs-unstable";
2024-10-23 15:26:54 +00:00
nur.url = "github:nix-community/NUR";
2024-08-30 17:38:37 +00:00
2024-12-20 12:50:56 +00:00
# This is a private repository for now while I work on it
# My plan is to make it public by the end of the year
# for now have a look at https://github.com/redyf/Neve
# as that is where I *borrowed* the base from
haivim = {
url = "git+ssh://git@github.com/blahai/haivim";
2024-12-20 13:11:42 +00:00
inputs = {nixpkgs.follows = "nixpkgs";};
2024-12-20 12:50:56 +00:00
};
2024-11-13 19:07:51 +00:00
deploy-rs = {
url = "github:serokell/deploy-rs";
inputs.nixpkgs.follows = "nixpkgs";
};
2024-09-03 13:26:27 +00:00
ags = {
2024-11-14 19:27:42 +00:00
url = "github:Aylur/ags/v1";
2024-09-03 13:26:27 +00:00
inputs.nixpkgs.follows = "nixpkgs";
};
2024-08-30 17:38:37 +00:00
2024-08-30 22:10:17 +00:00
spicetify-nix = {
url = "github:Gerg-L/spicetify-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
2024-11-08 21:33:13 +00:00
disko = {
2024-10-23 21:03:11 +00:00
url = "github:nix-community/disko/master";
2024-11-08 21:33:13 +00:00
inputs.nixpkgs.follows = "nixpkgs";
2024-10-23 21:03:11 +00:00
};
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";
};
wezterm.url = "github:wez/wezterm?dir=nix";
2024-12-20 13:11:42 +00:00
catppuccin = {url = "github:catppuccin/nix";};
2024-10-13 17:04:01 +00:00
hyprland.url = "github:hyprwm/Hyprland";
2024-10-23 21:03:11 +00:00
zen-browser.url = "github:ch4og/zen-browser-flake";
2024-08-30 17:38:37 +00:00
};
2024-12-20 13:11:42 +00:00
outputs = {
nixpkgs,
nixpkgs-smol,
chaotic,
home-manager,
disko,
...
} @ inputs: let
system = "x86_64-linux";
in {
nixosConfigurations = {
nyx = nixpkgs.lib.nixosSystem {
specialArgs = {
inherit inputs;
pkgs-smol = import nixpkgs-smol {
inherit system;
config.allowUnfree = true;
2024-12-14 16:55:07 +00:00
};
2024-08-30 17:38:37 +00:00
};
2024-12-20 13:11:42 +00:00
modules = [
./hosts/nyx/configuration.nix
inputs.home-manager.nixosModules.default
chaotic.nixosModules.default
];
};
2024-10-23 21:03:11 +00:00
2024-12-20 13:11:42 +00:00
# helios = nixpkgs.lib.nixosSystem {
# modules = [
# ./hosts/helios/configuration.nix
# # inputs.home-manager.nixosModules.default
# chaotic.nixosModules.default
# ];
# };
2024-10-27 00:07:44 +00:00
2024-12-20 13:11:42 +00:00
theia = nixpkgs.lib.nixosSystem {
modules = [./hosts/theia/configuration.nix disko.nixosModules.disko];
};
epimetheus = nixpkgs.lib.nixosSystem {
specialArgs = {
inherit inputs;
pkgs-smol = import nixpkgs-smol {inherit system;};
2024-10-27 00:07:44 +00:00
};
2024-12-20 13:11:42 +00:00
modules = [./hosts/epimetheus/configuration.nix disko.nixosModules.disko];
2024-08-30 17:38:37 +00:00
};
};
2024-12-20 13:11:42 +00:00
};
2024-08-30 17:38:37 +00:00
}