2021-12-30 16:19:49 +01:00
|
|
|
{
|
|
|
|
|
description = "niveum: packages, modules, systems";
|
|
|
|
|
|
|
|
|
|
inputs = {
|
2023-02-22 10:02:55 +01:00
|
|
|
agenix.url = "github:ryantm/agenix";
|
2021-12-30 16:19:49 +01:00
|
|
|
flake-utils.url = "github:numtide/flake-utils";
|
2023-02-22 10:02:55 +01:00
|
|
|
home-manager.url = "github:nix-community/home-manager/release-22.11";
|
|
|
|
|
krops.url = "github:kmein/krops";
|
|
|
|
|
menstruation-backend.url = "github:kmein/menstruation.rs";
|
|
|
|
|
menstruation-telegram.url = "github:kmein/menstruation-telegram";
|
|
|
|
|
nixinate.url = "github:matthewcroughan/nixinate";
|
|
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.11";
|
|
|
|
|
nur.url = "github:nix-community/NUR";
|
|
|
|
|
recht.url = "github:kmein/recht";
|
2022-12-31 10:40:38 +01:00
|
|
|
retiolum.url = "git+https://git.thalheim.io/Mic92/retiolum";
|
2023-02-22 10:02:55 +01:00
|
|
|
telebots.url = "github:kmein/telebots";
|
|
|
|
|
tinc-graph.url = "github:kmein/tinc-graph";
|
|
|
|
|
|
|
|
|
|
agenix.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
krops.inputs.flake-utils.follows = "flake-utils";
|
|
|
|
|
krops.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
menstruation-backend.inputs.flake-utils.follows = "flake-utils";
|
|
|
|
|
menstruation-backend.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
menstruation-telegram.inputs.flake-utils.follows = "flake-utils";
|
|
|
|
|
menstruation-telegram.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
nixinate.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
recht.inputs.flake-utils.follows = "flake-utils";
|
|
|
|
|
recht.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
retiolum.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
tinc-graph.inputs.flake-utils.follows = "flake-utils";
|
|
|
|
|
tinc-graph.inputs.nixpkgs.follows = "nixpkgs";
|
2021-12-31 16:57:45 +01:00
|
|
|
|
2021-12-31 17:26:15 +01:00
|
|
|
# legacy
|
2022-03-10 21:52:12 +01:00
|
|
|
scripts = {
|
|
|
|
|
url = "github:kmein/scripts";
|
|
|
|
|
flake = false;
|
|
|
|
|
};
|
|
|
|
|
traadfri = {
|
|
|
|
|
url = "github:kmein/traadfri";
|
|
|
|
|
flake = false;
|
|
|
|
|
};
|
2021-12-30 16:19:49 +01:00
|
|
|
};
|
|
|
|
|
|
2023-02-22 10:02:55 +01:00
|
|
|
outputs = inputs @ {
|
2022-03-10 21:52:12 +01:00
|
|
|
self,
|
2023-02-22 10:02:55 +01:00
|
|
|
nixpkgs,
|
|
|
|
|
nur,
|
2022-03-10 21:52:12 +01:00
|
|
|
home-manager,
|
2023-02-22 10:02:55 +01:00
|
|
|
nixinate,
|
|
|
|
|
agenix,
|
2022-03-10 21:52:12 +01:00
|
|
|
retiolum,
|
2023-02-22 10:02:55 +01:00
|
|
|
...
|
|
|
|
|
}: let
|
2021-12-30 16:19:49 +01:00
|
|
|
in {
|
2023-02-22 10:02:55 +01:00
|
|
|
apps = nixinate.nixinate.x86_64-linux self;
|
|
|
|
|
|
|
|
|
|
nixosConfigurations = {
|
|
|
|
|
ful = nixpkgs.lib.nixosSystem {
|
|
|
|
|
system = "aarch64-linux";
|
|
|
|
|
modules = [
|
|
|
|
|
systems/ful/configuration.nix
|
|
|
|
|
agenix.nixosModules.default
|
|
|
|
|
retiolum.nixosModules.retiolum
|
|
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
zaatar = nixpkgs.lib.nixosSystem {
|
|
|
|
|
system = "x86_64-linux";
|
|
|
|
|
modules = [
|
|
|
|
|
{
|
|
|
|
|
_module.args.nixinate = {
|
|
|
|
|
host = "zaatar";
|
|
|
|
|
sshUser = "root";
|
|
|
|
|
buildOn = "remote";
|
|
|
|
|
substituteOnTarget = true;
|
|
|
|
|
hermetic = false;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
systems/zaatar/configuration.nix
|
|
|
|
|
agenix.nixosModules.default
|
|
|
|
|
retiolum.nixosModules.retiolum
|
|
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
makanek = nixpkgs.lib.nixosSystem {
|
|
|
|
|
system = "x86_64-linux";
|
|
|
|
|
# for using inputs in other config files
|
|
|
|
|
specialArgs = {inherit inputs;};
|
|
|
|
|
modules = [
|
|
|
|
|
{
|
|
|
|
|
_module.args.nixinate = {
|
|
|
|
|
host = "makanek";
|
|
|
|
|
sshUser = "root";
|
|
|
|
|
buildOn = "remote";
|
|
|
|
|
substituteOnTarget = true;
|
|
|
|
|
hermetic = false;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
systems/makanek/configuration.nix
|
|
|
|
|
agenix.nixosModules.default
|
|
|
|
|
retiolum.nixosModules.retiolum
|
|
|
|
|
nur.nixosModules.nur
|
|
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
tahina = nixpkgs.lib.nixosSystem {
|
|
|
|
|
system = "x86_64-linux";
|
|
|
|
|
modules = [
|
|
|
|
|
systems/tahina/configuration.nix
|
|
|
|
|
agenix.nixosModules.default
|
|
|
|
|
retiolum.nixosModules.retiolum
|
|
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
tabula = nixpkgs.lib.nixosSystem {
|
|
|
|
|
system = "x86_64-linux";
|
|
|
|
|
modules = [
|
|
|
|
|
systems/tabula/configuration.nix
|
|
|
|
|
agenix.nixosModules.default
|
|
|
|
|
retiolum.nixosModules.retiolum
|
|
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
manakish = nixpkgs.lib.nixosSystem {
|
|
|
|
|
system = "x86_64-linux";
|
|
|
|
|
specialArgs = {inherit inputs;};
|
|
|
|
|
modules = [
|
|
|
|
|
{
|
|
|
|
|
_module.args.nixinate = {
|
|
|
|
|
host = "manakish";
|
|
|
|
|
sshUser = "root";
|
|
|
|
|
buildOn = "remote";
|
|
|
|
|
substituteOnTarget = true;
|
|
|
|
|
hermetic = false;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
systems/manakish/configuration.nix
|
|
|
|
|
agenix.nixosModules.default
|
|
|
|
|
retiolum.nixosModules.retiolum
|
|
|
|
|
home-manager.nixosModules.home-manager
|
|
|
|
|
nur.nixosModules.nur
|
|
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
kabsa = nixpkgs.lib.nixosSystem {
|
|
|
|
|
system = "x86_64-linux";
|
|
|
|
|
specialArgs = {inherit inputs;};
|
|
|
|
|
modules = [
|
|
|
|
|
{
|
|
|
|
|
_module.args.nixinate = {
|
|
|
|
|
host = "kabsa";
|
|
|
|
|
sshUser = "root";
|
|
|
|
|
buildOn = "remote";
|
|
|
|
|
substituteOnTarget = true;
|
|
|
|
|
hermetic = false;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
systems/kabsa/configuration.nix
|
|
|
|
|
agenix.nixosModules.default
|
|
|
|
|
retiolum.nixosModules.retiolum
|
|
|
|
|
home-manager.nixosModules.home-manager
|
|
|
|
|
nur.nixosModules.nur
|
|
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
};
|
2021-12-30 16:19:49 +01:00
|
|
|
};
|
|
|
|
|
}
|