2023-02-20 16:38:19 +01:00
|
|
|
{
|
2023-05-19 12:08:06 +02:00
|
|
|
description = "jopejoe1 NixOS configuration";
|
|
|
|
|
|
|
|
inputs = {
|
2023-12-17 15:25:49 +01:00
|
|
|
#nixpkgs.url = "/home/jopejoe1/dev/nixpkgs/";
|
2023-12-19 19:56:16 +01:00
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
2023-12-01 20:09:56 +01:00
|
|
|
kde2nix.url = "github:nix-community/kde2nix";
|
2023-07-27 15:25:31 +02:00
|
|
|
nur.url = "github:nix-community/NUR";
|
2023-05-19 12:08:06 +02:00
|
|
|
home-manager= {
|
2023-07-27 15:25:31 +02:00
|
|
|
url = "github:nix-community/home-manager";
|
2023-02-20 16:38:19 +01:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2023-05-19 20:58:48 +02:00
|
|
|
prismlauncher = {
|
2023-07-27 15:25:31 +02:00
|
|
|
url = "github:PrismLauncher/PrismLauncher";
|
2023-05-19 20:58:48 +02:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
2023-08-23 22:40:41 +02:00
|
|
|
inputs.flake-parts.follows = "flake-parts";
|
|
|
|
inputs.pre-commit-hooks.follows = "pre-commit-hooks";
|
|
|
|
inputs.flake-compat.follows = "flake-compat";
|
|
|
|
inputs.libnbtplusplus.follows = "libnbtplusplus";
|
2023-09-28 21:08:56 +02:00
|
|
|
inputs.nix-filter.follows = "nix-filter";
|
2023-05-19 20:58:48 +02:00
|
|
|
};
|
2023-07-27 15:25:31 +02:00
|
|
|
nixos-hardware.url = "github:NixOS/nixos-hardware";
|
2023-05-19 21:51:53 +02:00
|
|
|
tela-icon-theme = {
|
2023-07-27 15:25:31 +02:00
|
|
|
url = "github:vinceliuice/Tela-icon-theme";
|
2023-05-19 22:27:09 +02:00
|
|
|
flake = false;
|
|
|
|
};
|
2023-10-13 16:26:49 +02:00
|
|
|
catppuccin-base16 = {
|
|
|
|
url = "github:catppuccin/base16";
|
|
|
|
flake = false;
|
|
|
|
};
|
|
|
|
stylix = {
|
|
|
|
url = "github:danth/stylix";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
inputs.flake-compat.follows = "flake-compat";
|
|
|
|
inputs.base16.follows = "base16";
|
|
|
|
inputs.home-manager.follows = "home-manager";
|
|
|
|
};
|
|
|
|
base16 = {
|
|
|
|
url = "github:SenchoPens/base16.nix";
|
|
|
|
};
|
2023-05-19 22:47:42 +02:00
|
|
|
|
2023-09-28 21:08:56 +02:00
|
|
|
|
|
|
|
|
2023-08-23 22:40:41 +02:00
|
|
|
# Dependencys
|
|
|
|
flake-parts = {
|
|
|
|
url = "github:hercules-ci/flake-parts";
|
|
|
|
inputs.nixpkgs-lib.follows = "nixpkgs-lib";
|
|
|
|
};
|
|
|
|
nixpkgs-lib.url = "github:NixOS/nixpkgs/nixos-unstable?dir=lib";
|
2023-09-28 21:08:56 +02:00
|
|
|
flake-schemas.url = "github:DeterminateSystems/flake-schemas";
|
2023-08-23 22:40:41 +02:00
|
|
|
pre-commit-hooks = {
|
|
|
|
url = "github:cachix/pre-commit-hooks.nix";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
inputs.nixpkgs-stable.follows = "nixpkgs";
|
|
|
|
inputs.flake-compat.follows = "flake-compat";
|
|
|
|
inputs.gitignore.follows = "gitignore";
|
|
|
|
inputs.flake-utils.follows = "flake-utils";
|
|
|
|
};
|
2023-09-28 21:08:56 +02:00
|
|
|
yafas = {
|
|
|
|
url = "github:UbiqueLambda/yafas";
|
|
|
|
inputs.flake-schemas.follows = "flake-schemas";
|
|
|
|
inputs.systems.follows = "nix-systems";
|
|
|
|
};
|
2023-08-23 22:40:41 +02:00
|
|
|
flake-compat = {
|
|
|
|
url = "github:edolstra/flake-compat";
|
|
|
|
flake = false;
|
|
|
|
};
|
|
|
|
libnbtplusplus = {
|
|
|
|
url = "github:PrismLauncher/libnbtplusplus";
|
|
|
|
flake = false;
|
|
|
|
};
|
|
|
|
gitignore = {
|
|
|
|
url = "github:hercules-ci/gitignore.nix";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
flake-utils = {
|
|
|
|
url = "github:numtide/flake-utils";
|
|
|
|
inputs.systems.follows = "nix-systems";
|
|
|
|
};
|
|
|
|
nix-systems.url = "github:nix-systems/default";
|
2023-09-28 21:08:56 +02:00
|
|
|
nix-systems-linux.url = "github:nix-systems/default-linux";
|
|
|
|
nix-empty-flake.url = "github:chaotic-cx/nix-empty-flake";
|
|
|
|
nix-filter.url = "github:numtide/nix-filter";
|
2023-08-23 22:40:41 +02:00
|
|
|
|
2023-07-12 12:45:16 +02:00
|
|
|
# Patches
|
2023-05-19 22:47:42 +02:00
|
|
|
prism-game-options-patch = {
|
2023-05-19 22:27:09 +02:00
|
|
|
url = "https://patch-diff.githubusercontent.com/raw/PrismLauncher/PrismLauncher/pull/907.patch";
|
2023-05-19 21:51:53 +02:00
|
|
|
flake = false;
|
|
|
|
};
|
2023-02-20 16:38:19 +01:00
|
|
|
};
|
2023-02-23 20:34:35 +01:00
|
|
|
|
2023-05-19 12:08:06 +02:00
|
|
|
outputs = inputs@{
|
|
|
|
nixpkgs,
|
|
|
|
home-manager,
|
2023-05-19 20:56:21 +02:00
|
|
|
nur,
|
2023-05-19 21:08:33 +02:00
|
|
|
nixos-hardware,
|
2023-10-13 16:27:51 +02:00
|
|
|
stylix,
|
2023-12-01 20:09:56 +01:00
|
|
|
kde2nix,
|
2023-05-19 12:08:06 +02:00
|
|
|
...
|
|
|
|
}: {
|
2023-07-10 10:17:10 +02:00
|
|
|
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
|
2023-08-02 18:25:31 +02:00
|
|
|
./modules/asf
|
2023-07-26 21:00:43 +02:00
|
|
|
./modules/minecraft-server
|
2023-09-29 18:13:10 +02:00
|
|
|
./modules/kate
|
2023-12-17 15:25:49 +01:00
|
|
|
#./modules/theming
|
2023-12-01 20:09:56 +01:00
|
|
|
#./modules/auto-update
|
2023-11-03 08:44:40 +01:00
|
|
|
./modules/services/repo-sync
|
2023-12-01 20:09:56 +01:00
|
|
|
#./modules/services/moodle-dl
|
2023-11-13 08:42:13 +01:00
|
|
|
./modules/web/peertube
|
2023-07-10 10:17:10 +02:00
|
|
|
./modules/users/jopejoe1
|
2023-08-21 18:40:42 +02:00
|
|
|
./modules/users/root
|
2023-07-26 21:07:59 +02:00
|
|
|
./overlays
|
2023-07-10 10:17:10 +02:00
|
|
|
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
|
2023-12-01 20:09:56 +01:00
|
|
|
kde2nix.nixosModules.plasma6
|
2023-10-26 19:28:35 +02:00
|
|
|
#nyx.nixosModules.default
|
2023-12-17 15:25:49 +01:00
|
|
|
#stylix.nixosModules.stylix
|
2023-07-10 10:17:10 +02:00
|
|
|
];
|
|
|
|
};
|
|
|
|
yokai = nixpkgs.lib.nixosSystem {
|
2023-07-10 10:30:12 +02:00
|
|
|
system = "aarch64-linux";
|
2023-07-10 10:17:10 +02:00
|
|
|
specialArgs = inputs;
|
|
|
|
modules = [
|
|
|
|
./systems/yokai
|
|
|
|
./modules/audio
|
|
|
|
./modules/bluetooth
|
|
|
|
./modules/local
|
|
|
|
./modules/nix
|
|
|
|
./modules/plasma
|
|
|
|
./modules/printing
|
|
|
|
#./modules/ssh
|
|
|
|
./modules/users/jopejoe1
|
2023-08-21 18:40:42 +02:00
|
|
|
./modules/users/root
|
2023-07-26 21:07:59 +02:00
|
|
|
./overlays
|
2023-07-10 10:17:10 +02:00
|
|
|
nixos-hardware.nixosModules.pine64-pinebook-pro
|
|
|
|
nur.nixosModules.nur
|
|
|
|
home-manager.nixosModules.home-manager
|
2023-10-26 19:28:35 +02:00
|
|
|
#nyx.nixosModules.default
|
2023-07-10 10:17:10 +02:00
|
|
|
];
|
|
|
|
};
|
2023-08-14 16:47:59 +02:00
|
|
|
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
|
2023-10-26 19:28:35 +02:00
|
|
|
#nyx.nixosModules.default
|
2023-08-14 16:47:59 +02:00
|
|
|
];
|
|
|
|
};
|
2023-09-08 14:36:39 +02:00
|
|
|
tuny = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
specialArgs = inputs;
|
|
|
|
modules = [
|
|
|
|
./systems/tuny
|
|
|
|
./modules/audio
|
|
|
|
./modules/bluetooth
|
|
|
|
./modules/local
|
|
|
|
./modules/nix
|
|
|
|
./modules/auto-update
|
2023-09-08 14:48:33 +02:00
|
|
|
#./overlays
|
2023-09-08 14:36:39 +02:00
|
|
|
nixos-hardware.nixosModules.common-cpu-intel
|
2023-09-08 14:41:01 +02:00
|
|
|
#nixos-hardware.nixosModules.common-gpu-nvidia
|
2023-09-08 14:36:39 +02:00
|
|
|
nixos-hardware.nixosModules.common-pc-laptop
|
|
|
|
nixos-hardware.nixosModules.common-pc-laptop-hdd
|
|
|
|
nur.nixosModules.nur
|
|
|
|
home-manager.nixosModules.home-manager
|
2023-10-26 19:28:35 +02:00
|
|
|
#nyx.nixosModules.default
|
2023-09-08 14:36:39 +02:00
|
|
|
];
|
|
|
|
};
|
2023-02-22 17:56:24 +01:00
|
|
|
};
|
2023-05-16 14:55:15 +02:00
|
|
|
};
|
2023-02-20 16:38:19 +01:00
|
|
|
}
|