mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2024-12-29 18:46:33 +01:00
98 lines
3 KiB
Nix
98 lines
3 KiB
Nix
{
|
|
description = "jopejoe1 NixOS configuration";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
kde2nix = {
|
|
url = "github:nix-community/kde2nix";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
disko = {
|
|
url = "github:nix-community/disko";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
firefox-addons = {
|
|
url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
inputs.flake-utils.follows = "flake-utils";
|
|
};
|
|
jovian = {
|
|
url = "github:Jovian-Experiments/Jovian-NixOS";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
prismlauncher = {
|
|
url = "github:PrismLauncher/PrismLauncher";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
inputs.flake-parts.follows = "flake-parts";
|
|
inputs.pre-commit-hooks.follows = "pre-commit-hooks";
|
|
inputs.flake-compat.follows = "flake-compat";
|
|
inputs.libnbtplusplus.follows = "libnbtplusplus";
|
|
};
|
|
nixos-hardware.url = "github:NixOS/nixos-hardware";
|
|
nixos-generators = {
|
|
url = "github:nix-community/nixos-generators";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
inputs.nixlib.follows = "nixpkgs-lib";
|
|
};
|
|
tela-icon-theme = {
|
|
url = "github:vinceliuice/Tela-icon-theme";
|
|
flake = false;
|
|
};
|
|
openrgb = {
|
|
url = "gitlab:CalcProgrammer1/OpenRGB";
|
|
flake = false;
|
|
};
|
|
nether = {
|
|
url = "github:Lassulus/nether";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
# 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";
|
|
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";
|
|
};
|
|
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";
|
|
};
|
|
|
|
outputs = inputs@{ self, nixpkgs, ... }: {
|
|
nixosModules.default = import ./modules;
|
|
homeManagerModules.default = import ./home-modules;
|
|
nixosConfigurations = import ./systems {
|
|
inherit self inputs nixpkgs;
|
|
};
|
|
packages = nixpkgs.lib.attrsets.genAttrs nixpkgs.lib.systems.flakeExposed (system: import ./packages {
|
|
inherit system inputs;
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
});
|
|
};
|
|
}
|