2022-07-31 11:03:59 +02:00
|
|
|
# SPDX-FileCopyrightText: 2022 Richard Brežák <richard@brezak.sk>
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: LGPL-3.0-or-later
|
|
|
|
{
|
|
|
|
inputs = {
|
|
|
|
nixpkgs-21_11.url = "github:NixOS/nixpkgs?ref=nixos-21.11";
|
|
|
|
nixpkgs-stable.url = "github:NixOS/nixpkgs?ref=nixos-22.05";
|
2022-11-23 21:00:58 +01:00
|
|
|
nixpkgs.url = "sourcehut:~magic_rb/nixpkgs";
|
2022-07-31 11:03:59 +02:00
|
|
|
nixpkgs-master.url = "github:NixOS/nixpkgs?ref=master";
|
|
|
|
|
|
|
|
nixinate.url = "github:MagicRB/nixinate";
|
|
|
|
nixinate.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
|
|
|
home-manager.url = "github:nix-community/home-manager?ref=master";
|
|
|
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
home-manager.inputs.utils.follows = "flake-utils";
|
|
|
|
|
|
|
|
nixng.url = "github:nix-community/NixNG";
|
|
|
|
nixng.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
|
|
|
poetry2nix.url = "github:nix-community/poetry2nix";
|
|
|
|
poetry2nix.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
poetry2nix.inputs.flake-utils.follows = "flake-utils";
|
|
|
|
|
|
|
|
nix.url = "github:NixOS/nix";
|
|
|
|
nix.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
|
|
|
deploy-rs.url = "github:serokell/deploy-rs";
|
|
|
|
deploy-rs.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
deploy-rs.inputs.utils.follows = "flake-utils";
|
|
|
|
deploy-rs.inputs.flake-compat.follows = "flake-compat";
|
|
|
|
|
2022-08-18 22:55:46 +02:00
|
|
|
nomad-driver-containerd-nix.url = "github:MagicRB/nomad-driver-containerd-nix"; # "git+https://gitea.redalder.org/Magic_RB/nomad-driver-containerd-nix";
|
2022-07-31 11:03:59 +02:00
|
|
|
nomad-driver-containerd-nix.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
|
|
|
nix-gaming.url = "github:fufexan/nix-gaming";
|
|
|
|
nix-gaming.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
|
|
|
emacs-overlay.url = "github:nix-community/emacs-overlay";
|
|
|
|
emacs-overlay.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
emacs-overlay.inputs.flake-utils.follows = "flake-utils";
|
|
|
|
|
|
|
|
flake-parts.url = "github:MagicRB/flake-parts";
|
|
|
|
flake-parts.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
|
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
|
|
|
2022-08-18 22:55:46 +02:00
|
|
|
webcord-flake.url = "github:fufexan/webcord-flake";
|
|
|
|
webcord-flake.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
webcord-flake.inputs.dream2nix.follows = "dream2nix";
|
|
|
|
webcord-flake.inputs.webcord.follows = "webcord";
|
|
|
|
|
|
|
|
dream2nix.url = "github:nix-community/dream2nix";
|
2022-11-23 20:56:31 +01:00
|
|
|
dream2nix.inputs.nixpkgs.follows = "nixpkgs";
|
2022-08-18 22:55:46 +02:00
|
|
|
dream2nix.inputs.alejandra.follows = "alejandra";
|
|
|
|
dream2nix.inputs.pre-commit-hooks.follows = "pre-commit-hooks";
|
|
|
|
dream2nix.inputs.flake-utils-pre-commit.follows = "flake-utils";
|
|
|
|
|
|
|
|
alejandra.url = "github:kamadorueda/alejandra";
|
|
|
|
alejandra.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
alejandra.inputs.fenix.follows = "fenix";
|
|
|
|
alejandra.inputs.flakeCompat.follows = "flake-compat";
|
|
|
|
|
|
|
|
pre-commit-hooks.url = "github:cachix/pre-commit-hooks.nix";
|
|
|
|
pre-commit-hooks.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
pre-commit-hooks.inputs.flake-utils.follows = "flake-utils";
|
|
|
|
|
|
|
|
nil.url = "github:oxalica/nil";
|
|
|
|
nil.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
nil.inputs.flake-utils.follows = "flake-utils";
|
|
|
|
|
2022-10-11 07:55:27 +02:00
|
|
|
serokell-nix.url = "github:serokell/serokell.nix?ref=magicrb-allow-wildcards-with-no-main";
|
|
|
|
serokell-nix.inputs.flake-compat.follows = "flake-compat";
|
|
|
|
serokell-nix.inputs.gitignore-nix.follows = "gitignore-nix";
|
|
|
|
|
2022-08-18 22:55:46 +02:00
|
|
|
webcord.url = "github:SpacingBat3/WebCord";
|
|
|
|
webcord.flake = false;
|
|
|
|
|
|
|
|
fenix.url = "github:nix-community/fenix";
|
|
|
|
fenix.flake = false;
|
|
|
|
|
|
|
|
devshell.url = "github:numtide/devshell";
|
|
|
|
devshell.flake = false;
|
|
|
|
|
|
|
|
gomod2nix.url = "github:tweag/gomod2nix";
|
|
|
|
gomod2nix.flake = false;
|
|
|
|
|
|
|
|
mach-nix.url = "github:DavHau/mach-nix";
|
|
|
|
mach-nix.flake = false;
|
|
|
|
|
|
|
|
crane.url = "github:ipetkov/crane";
|
|
|
|
crane.flake = false;
|
|
|
|
|
2022-07-31 11:03:59 +02:00
|
|
|
flake-compat.url = "github:edolstra/flake-compat";
|
|
|
|
flake-compat.flake = false;
|
|
|
|
|
2022-10-27 13:25:45 +02:00
|
|
|
emacs.url = "sourcehut:~magic_rb/emacs";
|
2022-07-31 11:03:59 +02:00
|
|
|
emacs.flake = false;
|
|
|
|
|
|
|
|
vtermModule.url = "github:akermu/emacs-libvterm";
|
|
|
|
vtermModule.flake = false;
|
|
|
|
|
2022-11-23 20:48:59 +01:00
|
|
|
secret.url = "path:///var/empty";
|
2022-07-31 11:03:59 +02:00
|
|
|
secret.flake = false;
|
|
|
|
|
|
|
|
qmk.url = "https://github.com/qmk/qmk_firmware";
|
|
|
|
qmk.flake = false;
|
|
|
|
qmk.type = "git";
|
|
|
|
qmk.ref = "master";
|
|
|
|
qmk.submodules = true;
|
|
|
|
|
|
|
|
bootloadHID.url = "github:whiteneon/bootloadHID";
|
|
|
|
bootloadHID.flake = false;
|
|
|
|
|
|
|
|
hidapitester.url = "github:todbot/hidapitester";
|
|
|
|
hidapitester.flake = false;
|
|
|
|
|
|
|
|
yusdacra-dotfiles.url = "github:yusdacra/nixos-config";
|
|
|
|
yusdacra-dotfiles.flake = false;
|
|
|
|
|
|
|
|
fufexan-dotfiles.url = "github:fufexan/dotfiles";
|
|
|
|
fufexan-dotfiles.flake = false;
|
2022-09-17 11:21:16 +02:00
|
|
|
|
|
|
|
ical2org.url = "git+https://git.sr.ht/~magic_rb/ical2orgpy";
|
|
|
|
ical2org.flake = false;
|
|
|
|
|
2022-09-26 18:39:34 +02:00
|
|
|
udp-over-tcp.url = "github:mullvad/udp-over-tcp";
|
|
|
|
udp-over-tcp.flake = false;
|
2022-10-11 07:55:27 +02:00
|
|
|
|
|
|
|
gitignore-nix.url = "github:hercules-ci/gitignore.nix";
|
|
|
|
gitignore-nix.flake = false;
|
2022-07-31 11:03:59 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
outputs = {
|
|
|
|
self,
|
|
|
|
flake-parts,
|
|
|
|
nixpkgs,
|
2022-08-18 22:55:46 +02:00
|
|
|
nixinate,
|
2022-07-31 11:03:59 +02:00
|
|
|
...
|
2022-08-18 22:55:46 +02:00
|
|
|
}:
|
|
|
|
let
|
2022-07-31 11:03:59 +02:00
|
|
|
systems = ["x86_64-linux" "aarch64-linux"];
|
2022-08-18 22:55:46 +02:00
|
|
|
flake =
|
|
|
|
flake-parts.lib.mkFlake
|
|
|
|
{
|
|
|
|
inherit self;
|
|
|
|
specialArgs = {
|
|
|
|
roots.nixos = ./. + "/nixos";
|
|
|
|
roots.flake = ./.;
|
|
|
|
roots.home-manager = ./. + "/home-manager";
|
|
|
|
};
|
|
|
|
}
|
|
|
|
{
|
|
|
|
inherit systems;
|
|
|
|
|
|
|
|
imports = [
|
|
|
|
./modules
|
|
|
|
];
|
|
|
|
};
|
|
|
|
in
|
|
|
|
flake // {
|
|
|
|
apps = nixpkgs.lib.genAttrs systems (system:
|
|
|
|
(nixinate.nixinate.${system} self)
|
|
|
|
// flake.apps.${system}
|
|
|
|
);
|
|
|
|
};
|
2022-07-31 11:03:59 +02:00
|
|
|
}
|