mirror of
https://git.gay/xqtc/nixos-config
synced 2024-11-22 10:20:33 +01:00
103 lines
3.1 KiB
Nix
103 lines
3.1 KiB
Nix
{
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
nixpkgs-2405.url = "github:NixOS/nixpkgs/nixos-24.05";
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
nixos-aarch64-widevine.url = "github:epetousis/nixos-aarch64-widevine";
|
|
nixpkgs-master.url = "github:NixOS/nixpkgs/master";
|
|
apple-silicon.url = "github:tpwrules/nixos-apple-silicon";
|
|
compose2nix = {
|
|
url = "github:aksiksi/compose2nix";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager/master";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
dwl-source = {
|
|
url = "git+https://codeberg.org/dwl/dwl?rev=577d8da6d17dad5f847795582ebf813f3c5c04a7";
|
|
flake = false;
|
|
};
|
|
sops-nix = {
|
|
url = "github:Mic92/sops-nix";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
spicetify-nix.url = "github:K900/spicetify-nix";
|
|
nh.url = "github:/viperML/nh";
|
|
lix-module = {
|
|
url = "https://git.lix.systems/lix-project/nixos-module/archive/2.90.0-rc1.tar.gz";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
proxmox-nixos = {
|
|
url = "github:SaumonNet/proxmox-nixos";
|
|
# inputs.nixpkgs.follows = "proxmox-nixos";
|
|
};
|
|
firefox-addons.url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
|
|
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
|
nixvim = {
|
|
url = "github:nix-community/nixvim";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
#inputs.agenix.url = "github:ryantm/agenix";
|
|
|
|
outputs = inputs @ {
|
|
self,
|
|
nixpkgs,
|
|
nixpkgs-master,
|
|
firefox-addons,
|
|
home-manager,
|
|
nixos-hardware,
|
|
nixvim,
|
|
nh,
|
|
lix-module,
|
|
dwl-source,
|
|
sops-nix,
|
|
...
|
|
}: let
|
|
lib = nixpkgs.lib;
|
|
util = (import ./overlays/util.nix {} {}).util;
|
|
system = "x86_64-linux";
|
|
in {
|
|
nixosConfigurations = {
|
|
"asmodeus" = lib.nixosSystem rec {
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
./hosts/x86_64-linux/asmodeus
|
|
];
|
|
specialArgs = {inherit inputs;};
|
|
};
|
|
"seraphim" = lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [./hosts/x86_64-linux/seraphim ];
|
|
specialArgs = {inherit inputs;};
|
|
};
|
|
"lilith" = lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [./hosts/x86_64-linux/lilith ];
|
|
specialArgs = {inherit inputs;};
|
|
};
|
|
"lambda" = lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [./hosts/x86_64-linux/lambda ];
|
|
specialArgs = {inherit inputs;};
|
|
};
|
|
"beleth" = lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [./hosts/x86_64-linux/beleth];
|
|
specialArgs = {inherit inputs;};
|
|
};
|
|
"alastor" = lib.nixosSystem {
|
|
system = "aarch64-linux";
|
|
modules = [./hosts/aarch64-linux/alastor {nixpkgs.overlays = [inputs.nixos-aarch64-widevine.overlays.default];} ];
|
|
specialArgs = {inherit inputs;};
|
|
};
|
|
};
|
|
|
|
formatter = {
|
|
x86_64-linux = inputs.nixpkgs.legacyPackages.x86_64-linux.alejandra;
|
|
aarch64-linux = inputs.nixpkgs.legacyPackages.aarch64-linux.alejandra;
|
|
};
|
|
};
|
|
}
|