2024-01-12 15:59:57 +01:00
|
|
|
{
|
|
|
|
inputs = {
|
2024-02-20 21:02:36 +01:00
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
2024-07-06 16:42:49 +02:00
|
|
|
nixpkgs-2405.url = "github:NixOS/nixpkgs/nixos-24.05";
|
2024-01-12 15:59:57 +01:00
|
|
|
flake-utils.url = "github:numtide/flake-utils";
|
2024-05-31 19:07:25 +02:00
|
|
|
nixos-aarch64-widevine.url = "github:epetousis/nixos-aarch64-widevine";
|
2024-02-19 12:02:16 +01:00
|
|
|
nixpkgs-master.url = "github:NixOS/nixpkgs/master";
|
2024-03-18 22:00:13 +01:00
|
|
|
apple-silicon.url = "github:tpwrules/nixos-apple-silicon";
|
2024-07-06 16:42:49 +02:00
|
|
|
compose2nix = {
|
|
|
|
url = "github:aksiksi/compose2nix";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2024-01-12 15:59:57 +01:00
|
|
|
home-manager = {
|
2024-02-11 02:01:29 +01:00
|
|
|
url = "github:nix-community/home-manager/master";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
2024-01-12 15:59:57 +01:00
|
|
|
};
|
2024-07-03 17:52:10 +02:00
|
|
|
sops-nix = {
|
|
|
|
url = "github:Mic92/sops-nix";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2024-03-30 22:14:37 +01:00
|
|
|
spicetify-nix.url = "github:the-argus/spicetify-nix";
|
2024-04-18 19:19:36 +02:00
|
|
|
nh.url = "github:/viperML/nh";
|
2024-07-02 12:28:22 +02:00
|
|
|
lix-module = {
|
|
|
|
url = "https://git.lix.systems/lix-project/nixos-module/archive/2.90.0-rc1.tar.gz";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2024-07-03 17:52:10 +02:00
|
|
|
firefox-addons.url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
|
|
|
|
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
|
|
|
nixvim = {
|
|
|
|
# If you are not running an unstable channel of nixpkgs, select the corresponding branch of nixvim.
|
|
|
|
#url = "github:nix-community/nixvim/22b587f3dc5c040eb1916aa2a67868f1918d9d17";
|
|
|
|
url = "github:nix-community/nixvim";
|
2024-01-12 15:59:57 +01:00
|
|
|
|
2024-07-03 17:52:10 +02:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2024-01-28 22:51:43 +01:00
|
|
|
};
|
2024-07-03 17:52:10 +02:00
|
|
|
#inputs.agenix.url = "github:ryantm/agenix";
|
2024-01-28 22:51:43 +01:00
|
|
|
|
2024-03-09 12:21:37 +01:00
|
|
|
outputs = inputs @ {
|
|
|
|
self,
|
|
|
|
nixpkgs,
|
|
|
|
nixpkgs-master,
|
|
|
|
firefox-addons,
|
|
|
|
home-manager,
|
|
|
|
nixos-hardware,
|
|
|
|
nixvim,
|
2024-04-18 19:19:36 +02:00
|
|
|
nh,
|
2024-07-02 12:28:22 +02:00
|
|
|
lix-module,
|
2024-07-03 17:52:10 +02:00
|
|
|
sops-nix,
|
2024-03-09 12:21:37 +01:00
|
|
|
...
|
|
|
|
}: let
|
2024-01-12 15:59:57 +01:00
|
|
|
lib = nixpkgs.lib;
|
|
|
|
util = (import ./overlays/util.nix {} {}).util;
|
|
|
|
system = "x86_64-linux";
|
2024-03-09 12:21:37 +01:00
|
|
|
pkgs = import nixpkgs {
|
2024-01-12 15:59:57 +01:00
|
|
|
inherit system;
|
2024-03-09 12:21:37 +01:00
|
|
|
overlays = util.nixFilesIn ./overlays;
|
|
|
|
};
|
|
|
|
in {
|
2024-03-18 08:56:51 +01:00
|
|
|
nixosConfigurations = {
|
|
|
|
"asmodeus" = lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
2024-07-06 16:42:49 +02:00
|
|
|
modules = [
|
|
|
|
./hosts/x86_64-linux/asmodeus
|
|
|
|
lix-module.nixosModules.default
|
|
|
|
];
|
2024-03-09 12:21:37 +01:00
|
|
|
specialArgs = {inherit inputs;};
|
2024-03-18 08:56:51 +01:00
|
|
|
};
|
|
|
|
"seraphim" = lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
2024-07-02 12:45:41 +02:00
|
|
|
modules = [./hosts/x86_64-linux/seraphim lix-module.nixosModules.default];
|
2024-03-18 08:56:51 +01:00
|
|
|
specialArgs = {inherit inputs;};
|
|
|
|
};
|
|
|
|
"lilith" = lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
2024-07-02 12:45:41 +02:00
|
|
|
modules = [./hosts/x86_64-linux/lilith lix-module.nixosModules.default];
|
2024-03-18 08:56:51 +01:00
|
|
|
specialArgs = {inherit inputs;};
|
|
|
|
};
|
|
|
|
"lambda" = lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
2024-07-02 12:45:41 +02:00
|
|
|
modules = [./hosts/x86_64-linux/lambda lix-module.nixosModules.default];
|
2024-03-18 08:56:51 +01:00
|
|
|
specialArgs = {inherit inputs;};
|
|
|
|
};
|
2024-04-01 02:29:05 +02:00
|
|
|
"beleth" = lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
modules = [./hosts/x86_64-linux/beleth];
|
|
|
|
specialArgs = {inherit inputs;};
|
|
|
|
};
|
2024-03-18 08:56:51 +01:00
|
|
|
"alastor" = lib.nixosSystem {
|
|
|
|
system = "aarch64-linux";
|
2024-07-02 12:45:41 +02:00
|
|
|
modules = [./hosts/aarch64-linux/alastor {nixpkgs.overlays = [inputs.nixos-aarch64-widevine.overlays.default];} lix-module.nixosModules.default];
|
2024-03-18 08:56:51 +01:00
|
|
|
specialArgs = {inherit inputs;};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
formatter = {
|
|
|
|
x86_64-linux = inputs.nixpkgs.legacyPackages.x86_64-linux.alejandra;
|
|
|
|
aarch64-linux = inputs.nixpkgs.legacyPackages.aarch64-linux.alejandra;
|
|
|
|
};
|
2024-01-12 15:59:57 +01:00
|
|
|
};
|
|
|
|
}
|