added gitea

This commit is contained in:
willifan 2024-07-28 10:16:48 +02:00
parent 6a3f97cebb
commit 7c9883774f
5 changed files with 35 additions and 16 deletions

View file

@ -30,13 +30,10 @@
outputs = { self, nixpkgs, nixpkgs-unstable, ... }@attrs:
let
supportedSystems = [ "x86_64-linux" ];
forAllSystems = nixpkgs.lib.genAttrs supportedSystems;
forAllSystemsUnstable = nixpkgs-unstable.lib.genAttrs supportedSystems;
pkgs = forAllSystems (system: import nixpkgs { inherit system; });
pkgs-unstable = forAllSystemsUnstable (system: import nixpkgs-unstable { inherit system; });
system = "x86_64-linux";
lib = nixpkgs.lib;
pkgs = nixpkgs.legacyPackages.${system};
pkgs-unstable = nixpkgs-unstable.legacyPackages.${system};
in
{
nixosConfigurations = {
@ -44,11 +41,12 @@
Lenni = let
system = "x86_64-linux";
in
nixpkgs.lib.nixosSystem {
lib.nixosSystem {
specialArgs = {
hostname = "Lenni";
type = "desktop";
inherit pkgs-unstable;
inherit system;
};
@ -69,11 +67,12 @@
Puenktchen = let
system = "x86_64-linux";
in
nixpkgs.lib.nixosSystem {
lib.nixosSystem {
specialArgs = {
hostname = "Puenktchen";
type = "desktop";
inherit pkgs-unstable;
inherit system;
};
@ -97,11 +96,12 @@
Anton = let
system = "x86_64-linux";
in
nixpkgs.lib.nixosSystem {
lib.nixosSystem {
specialArgs = {
hostname = "Anton";
type = "server";
inherit pkgs-unstable;
inherit system;
};