nyanloutre
44d04496cd
Flake lock file updates: • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/6386d8aafc28b3a7ed03880a57bdc6eb4465491d' (2023-12-02) → 'github:NixOS/nixpkgs/d2003f2223cbb8cd95134e4a0541beea215c1073' (2024-01-19) • Updated input 'nixpkgs-unstable': 'github:NixOS/nixpkgs/91050ea1e57e50388fa87a3302ba12d188ef723a' (2023-12-01) → 'github:NixOS/nixpkgs/842d9d80cfd4560648c785f8a4e6f3b096790e19' (2024-01-17) • Updated input 'simple-nixos-mailserver': 'gitlab:simple-nixos-mailserver/nixos-mailserver/24128c3052090311688b09a400aa408ba61c6ee5' (2023-06-22) → 'gitlab:simple-nixos-mailserver/nixos-mailserver/4bfb8eb058f098302c97b909df2d019926e11220' (2023-12-19) • Updated input 'simple-nixos-mailserver/nixpkgs-23_05': follows 'nixpkgs' → 'github:NixOS/nixpkgs/8966c43feba2c701ed624302b6a935f97bcbdf88' (2023-05-22) • Added input 'simple-nixos-mailserver/nixpkgs-23_11': follows 'nixpkgs'
66 lines
1.8 KiB
Nix
66 lines
1.8 KiB
Nix
{
|
|
inputs = {
|
|
nixpkgs.url = "flake:nixpkgs/nixos-23.11";
|
|
nixpkgs-unstable.url = "flake:nixpkgs/nixos-unstable";
|
|
utils.url = "github:gytis-ivaskevicius/flake-utils-plus/v1.4.0";
|
|
simple-nixos-mailserver = {
|
|
url = "gitlab:simple-nixos-mailserver/nixos-mailserver/nixos-23.11";
|
|
inputs = {
|
|
nixpkgs.follows = "nixpkgs-unstable";
|
|
nixpkgs-23_11.follows = "nixpkgs";
|
|
};
|
|
};
|
|
dogetipbot-telegram = {
|
|
url = "gitlab:nyanloutre/dogetipbot-telegram/master";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
ipmihddtemp = {
|
|
url = "gitlab:nyanloutre/ipmihddtemp/master";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
outputs = inputs@{ self, utils, nixpkgs, nixpkgs-unstable, simple-nixos-mailserver, dogetipbot-telegram, ipmihddtemp }: utils.lib.mkFlake {
|
|
|
|
inherit self inputs;
|
|
|
|
channels.nixpkgs-unstable.config = { allowUnfree = true; };
|
|
|
|
supportedSystems = [ "x86_64-linux" ];
|
|
|
|
# Patch example
|
|
|
|
# channels.nixpkgs-unstable.patches = [
|
|
# (nixpkgs-unstable.legacyPackages."x86_64-linux".fetchpatch {
|
|
# name = "electron-cash.patch";
|
|
# url = "https://github.com/NixOS/nixpkgs/pull/160607.patch";
|
|
# sha256 = nixpkgs.lib.fakeHash;
|
|
# })
|
|
# ];
|
|
|
|
hostDefaults.modules = [
|
|
nixpkgs.nixosModules.notDetected
|
|
{
|
|
nix.generateRegistryFromInputs = true;
|
|
nix.linkInputs = true;
|
|
nix.generateNixPathFromInputs = true;
|
|
}
|
|
];
|
|
|
|
hosts.loutreos.modules = [
|
|
simple-nixos-mailserver.nixosModule
|
|
dogetipbot-telegram.nixosModule
|
|
ipmihddtemp.nixosModule
|
|
./systems/LoutreOS/configuration.nix
|
|
];
|
|
|
|
hosts.paul-fixe = {
|
|
channelName = "nixpkgs-unstable";
|
|
modules = [
|
|
./systems/PC-Fixe/configuration.nix
|
|
];
|
|
};
|
|
};
|
|
}
|
|
|