2024-04-17 05:52:14 +05:00
|
|
|
{
|
|
|
|
|
description = "My system configuration";
|
|
|
|
|
|
2024-11-29 13:31:33 +03:00
|
|
|
nixConfig = {
|
|
|
|
|
extra-substituters = [
|
2025-12-27 18:13:22 +03:00
|
|
|
"https://nix.lair.moe/main"
|
2025-01-14 19:36:54 +03:00
|
|
|
"https://nix-community.cachix.org"
|
2024-11-29 13:31:33 +03:00
|
|
|
"https://hyprland.cachix.org"
|
2024-12-17 19:25:58 +03:00
|
|
|
"https://ezkea.cachix.org"
|
2025-12-14 18:28:47 +03:00
|
|
|
"https://yazi.cachix.org"
|
2024-11-29 13:31:33 +03:00
|
|
|
];
|
|
|
|
|
extra-trusted-public-keys = [
|
2025-12-01 19:15:35 +03:00
|
|
|
"main:kpwMe+9BsGJ/IUb7i3iadaV38y5/Yuqoct0mf7wI9ds="
|
2025-01-14 19:36:54 +03:00
|
|
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
2024-11-29 13:31:33 +03:00
|
|
|
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
2024-12-17 19:25:58 +03:00
|
|
|
"ezkea.cachix.org-1:ioBmUbJTZIKsHmWWXPe1FSFbeVe+afhfgqgTSNd34eI="
|
2025-12-14 18:28:47 +03:00
|
|
|
"yazi.cachix.org-1:Dcdz63NZKfvUCbDGngQDAZq6kOroIrFoyO064uvLh8k="
|
2024-11-29 13:31:33 +03:00
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
|
2024-04-17 05:52:14 +05:00
|
|
|
inputs = {
|
2024-12-17 19:25:58 +03:00
|
|
|
aagl.url = "github:ezKEa/aagl-gtk-on-nix";
|
2026-04-29 00:16:31 +03:00
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/5a5f98738120adbb3d2753087b17839a45701cbe";
|
2025-12-01 23:19:06 +03:00
|
|
|
nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-25.11";
|
|
|
|
|
nixpkgs-pinned.url = "github:nixos/nixpkgs/2d293cbfa5a793b4c50d17c05ef9e385b90edf6c";
|
2024-08-26 22:10:44 +03:00
|
|
|
sops-nix.url = "github:Mic92/sops-nix";
|
2024-08-27 13:53:48 +03:00
|
|
|
stylix.url = "github:danth/stylix";
|
2025-07-22 10:16:26 +03:00
|
|
|
ags.url = "github:Aylur/ags/3ed9737bdbc8fc7a7c7ceef2165c9109f336bff6";
|
2026-04-29 00:16:31 +03:00
|
|
|
|
2025-09-01 18:18:53 +03:00
|
|
|
yazi.url = "github:sxyazi/yazi";
|
2026-04-29 00:16:31 +03:00
|
|
|
yazi-plugins = {
|
|
|
|
|
url = "github:yazi-rs/plugins";
|
|
|
|
|
flake = false;
|
|
|
|
|
};
|
2024-04-17 05:52:14 +05:00
|
|
|
|
2026-03-12 04:09:08 +03:00
|
|
|
hyprland.url = "github:hyprwm/Hyprland/v0.54.2-b";
|
2024-11-18 22:00:27 +03:00
|
|
|
hyprland-plugins = {
|
|
|
|
|
url = "github:hyprwm/hyprland-plugins";
|
|
|
|
|
inputs.hyprland.follows = "hyprland";
|
|
|
|
|
};
|
|
|
|
|
|
2024-04-17 05:52:14 +05:00
|
|
|
home-manager = {
|
|
|
|
|
url = "github:nix-community/home-manager";
|
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
};
|
2026-03-11 18:27:49 +03:00
|
|
|
|
|
|
|
|
russia-blocked-geoip = {
|
2026-04-29 00:16:31 +03:00
|
|
|
url = "github:runetfreedom/russia-blocked-geoip/bbe32b96712342ae479ac598fb1a939b59d586c2";
|
2026-03-11 18:27:49 +03:00
|
|
|
flake = false;
|
|
|
|
|
};
|
2024-04-17 05:52:14 +05:00
|
|
|
};
|
|
|
|
|
|
2025-12-01 23:19:06 +03:00
|
|
|
outputs = { self, nixpkgs, nixpkgs-stable, nixpkgs-pinned, home-manager, ... }@inputs: let
|
2025-02-02 14:57:36 +03:00
|
|
|
system = "x86_64-linux";
|
2025-11-28 20:52:20 +03:00
|
|
|
config = { allowUnfree = true; };
|
2025-12-01 23:19:06 +03:00
|
|
|
mkHost = hostname: nixpkgs.lib.nixosSystem {
|
2025-11-28 20:52:20 +03:00
|
|
|
specialArgs = {
|
|
|
|
|
inherit inputs;
|
2025-12-01 23:19:06 +03:00
|
|
|
pkgs-stable = import nixpkgs-stable { inherit system config; };
|
|
|
|
|
pkgs-pinned = import nixpkgs-pinned { inherit system config; };
|
2025-11-28 20:52:20 +03:00
|
|
|
};
|
|
|
|
|
modules = [ ./host/${hostname}/configuration.nix ];
|
|
|
|
|
};
|
2025-02-02 14:57:36 +03:00
|
|
|
in {
|
2024-08-29 21:56:25 +03:00
|
|
|
nixosConfigurations = {
|
2025-11-28 20:52:20 +03:00
|
|
|
Rias = mkHost "Rias";
|
|
|
|
|
Senko = mkHost "Senko";
|
|
|
|
|
Eclipse = mkHost "Eclipse";
|
|
|
|
|
Impreza = mkHost "Impreza";
|
2024-04-17 05:52:14 +05:00
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
}
|