nix-conf/flake.nix

95 lines
2.9 KiB
Nix
Raw Normal View History

2023-02-20 16:38:19 +01:00
{
2023-05-19 12:08:06 +02:00
description = "jopejoe1 NixOS configuration";
2024-01-13 17:54:41 +01:00
inputs = {
2024-01-30 14:37:27 +01:00
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
2024-01-18 20:12:43 +01:00
kde2nix = {
url = "github:nix-community/kde2nix";
inputs.nixpkgs.follows = "nixpkgs";
};
disko = {
url = "github:nix-community/disko";
inputs.nixpkgs.follows = "nixpkgs";
};
2024-01-02 21:36:38 +01:00
firefox-addons = {
url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils";
};
2023-12-30 23:39:33 +01:00
jovian = {
2023-12-29 16:43:40 +01:00
url = "github:Jovian-Experiments/Jovian-NixOS";
inputs.nixpkgs.follows = "nixpkgs";
};
2023-12-30 23:39:33 +01: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";
};
2024-01-19 08:09:44 +01:00
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";
};
2023-07-27 15:25:31 +02:00
nixos-hardware.url = "github:NixOS/nixos-hardware";
2024-01-10 19:51:13 +01:00
nixos-generators = {
url = "github:nix-community/nixos-generators";
inputs.nixpkgs.follows = "nixpkgs";
inputs.nixlib.follows = "nixpkgs-lib";
};
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;
};
2024-01-19 08:09:44 +01:00
openrgb = {
url = "gitlab:CalcProgrammer1/OpenRGB";
flake = false;
};
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";
};
2024-01-02 21:06:51 +01:00
nixpkgs-lib.url = "github:nixos/nixpkgs/nixos-unstable?dir=lib";
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";
};
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-02-20 16:38:19 +01:00
};
2023-02-23 20:34:35 +01:00
2024-01-13 17:29:03 +01:00
outputs = inputs@{ self, nixpkgs, ... }: {
nixosModules.default = import ./modules;
homeManagerModules.default = import ./home-modules;
nixosConfigurations = import ./systems {
inherit self inputs nixpkgs;
2023-02-22 17:56:24 +01:00
};
2024-01-13 17:29:03 +01:00
packages = nixpkgs.lib.attrsets.genAttrs nixpkgs.lib.systems.flakeExposed (system: import ./packages {
inherit system inputs;
pkgs = nixpkgs.legacyPackages.${system};
});
};
2023-02-20 16:38:19 +01:00
}