3
4
mirror of https://git.feal.no/felixalb/nixos-config.git synced 2025-10-06 04:53:57 +02:00

Configure transmission and gitea

This commit is contained in:
2023-05-11 14:34:13 +02:00
parent 66645843db
commit 2850d19f76
6 changed files with 143 additions and 6 deletions

View File

@@ -12,21 +12,27 @@
outputs = { self, nixpkgs, unstable, sops-nix, ... }@inputs:
let
system = "x86_64-linux";
overlay-unstable = final: prev: {
unstable = unstable.legacyPackages.${prev.system};
};
in
{
nixosConfigurations = {
voyager = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
inherit system;
specialArgs = {
inherit inputs;
};
modules = [
# Overlays-module makes "pkgs.unstable" available in configuration.nix
({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable ]; })
./hosts/voyager/configuration.nix
sops-nix.nixosModules.sops
];
};
chapel = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
inherit system;
specialArgs = {
inherit inputs;
};
@@ -36,7 +42,7 @@
];
};
redshirt = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
inherit system;
specialArgs = {
inherit inputs;
};