nix-conf/flake.nix

63 lines
1.7 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-04-01 17:02:33 +02:00
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
2024-02-17 23:46:37 +01:00
# Outputs
nixos-generators = {
url = "github:nix-community/nixos-generators";
inputs.nixpkgs.follows = "nixpkgs";
};
# Modules
2024-01-18 20:12:43 +01:00
disko = {
url = "github:nix-community/disko";
inputs.nixpkgs.follows = "nixpkgs";
};
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";
};
2023-07-27 15:25:31 +02:00
nixos-hardware.url = "github:NixOS/nixos-hardware";
2024-02-07 22:23:26 +01:00
nether = {
url = "github:Lassulus/nether";
inputs.nixpkgs.follows = "nixpkgs";
};
2024-02-07 23:19:26 +01:00
srvos = {
url = "github:nix-community/srvos";
inputs.nixpkgs.follows = "nixpkgs";
};
2023-09-28 21:08:56 +02:00
2024-02-17 23:46:37 +01:00
# Packages
tela-icon-theme = {
url = "github:vinceliuice/Tela-icon-theme";
2023-08-23 22:40:41 +02:00
flake = false;
};
2024-02-17 23:46:37 +01:00
prismlauncher = {
url = "github:PrismLauncher/PrismLauncher";
2023-08-23 22:40:41 +02:00
inputs.nixpkgs.follows = "nixpkgs";
};
2024-02-17 23:46:37 +01:00
firefox-addons = {
url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
inputs.nixpkgs.follows = "nixpkgs";
2023-08-23 22:40:41 +02:00
};
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
}