nix-conf/flake.nix
2023-08-14 16:47:59 +02:00

106 lines
2.9 KiB
Nix

{
description = "jopejoe1 NixOS configuration";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nur.url = "github:nix-community/NUR";
home-manager= {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
prismlauncher = {
url = "github:PrismLauncher/PrismLauncher";
inputs.nixpkgs.follows = "nixpkgs";
};
nixos-hardware.url = "github:NixOS/nixos-hardware";
tela-icon-theme = {
url = "github:vinceliuice/Tela-icon-theme";
flake = false;
};
# Patches
prism-game-options-patch = {
url = "https://patch-diff.githubusercontent.com/raw/PrismLauncher/PrismLauncher/pull/907.patch";
flake = false;
};
prism-ftb-patch = {
url = "https://github.com/AdenMck/PrismLauncher/commit/36df231f7ad5f8d54d08c4d2c5f99f6d000fc507.patch";
flake = false;
};
};
outputs = inputs@{
nixpkgs,
home-manager,
nur,
nixos-hardware,
...
}: {
nixosConfigurations = {
kami = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = inputs;
modules = [
./systems/kami
./modules/audio
./modules/bluetooth
./modules/local
./modules/nix
./modules/plasma
./modules/printing
#./modules/ssh
./modules/steam
./modules/asf
./modules/minecraft-server
./modules/editor
./modules/users/jopejoe1
./overlays
nixos-hardware.nixosModules.common-cpu-intel
nixos-hardware.nixosModules.common-gpu-intel
nixos-hardware.nixosModules.common-gpu-nvidia
nixos-hardware.nixosModules.common-pc
nixos-hardware.nixosModules.common-hidpi
nixos-hardware.nixosModules.common-pc-ssd
nur.nixosModules.nur
home-manager.nixosModules.home-manager
];
};
yokai = nixpkgs.lib.nixosSystem {
system = "aarch64-linux";
specialArgs = inputs;
modules = [
./systems/yokai
./modules/audio
./modules/bluetooth
./modules/local
./modules/nix
./modules/plasma
./modules/printing
#./modules/ssh
./modules/users/jopejoe1
./overlays
nixos-hardware.nixosModules.pine64-pinebook-pro
nur.nixosModules.nur
home-manager.nixosModules.home-manager
];
};
inugami = nixpkgs.lib.nixosSystem {
system = "aarch64-linux";
specialArgs = inputs;
modules = [
./systems/inugami
./modules/audio
./modules/bluetooth
./modules/local
./modules/nix
./modules/kodi
./modules/auto-update
./overlays
nixos-hardware.nixosModules.raspberry-pi-4
nur.nixosModules.nur
home-manager.nixosModules.home-manager
];
};
};
};
}