From aae086de623a582b5bbe953d08b43fd3d2ffc57e Mon Sep 17 00:00:00 2001
From: Volker Schukai <volker.schukai@schukai.com>
Date: Wed, 8 Jan 2025 16:08:15 +0100
Subject: [PATCH] chore: remove old devenv files

---
 .envrc         |   5 +-
 .gitlab-ci.yml |  57 ------
 Makefile       |  68 -------
 devenv.lock    | 190 ------------------
 devenv.nix     | 534 -------------------------------------------------
 devenv.yaml    |   7 -
 project.nix    |  10 -
 treefmt.toml   |   1 -
 8 files changed, 2 insertions(+), 870 deletions(-)
 delete mode 100644 .gitlab-ci.yml
 delete mode 100644 Makefile
 delete mode 100644 devenv.lock
 delete mode 100644 devenv.nix
 delete mode 100644 devenv.yaml
 delete mode 100644 project.nix
 delete mode 120000 treefmt.toml

diff --git a/.envrc b/.envrc
index 6de8a8a..811f3da 100644
--- a/.envrc
+++ b/.envrc
@@ -1,3 +1,2 @@
-source_url "https://raw.githubusercontent.com/cachix/devenv/d1f7b48e35e6dee421cfd0f51481d17f77586997/direnvrc" "sha256-YBzqskFZxmNb3kYVoKD9ZixoPXJh1C9ZvTLGFRkauZ0="
-
-use devenv
\ No newline at end of file
+watch_file ./flake.nix 
+use flake
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
deleted file mode 100644
index fa545a6..0000000
--- a/.gitlab-ci.yml
+++ /dev/null
@@ -1,57 +0,0 @@
-  ## DO NOT EDIT THIS FILE MANUALLY, IT IS GENERATED BY NIX
-  image: docker-registry.schukai.com:443/nixos-ci-devenv:latest
-
-  #services:
-  #  - docker:dind
-
-
-  variables:
-    NIXOS_VERSION: "23.11"
-    NIXPKGS_ALLOW_UNFREE: "1"
-    NIXPKGS_ALLOW_INSECURE: "1"
-    #DOCKER_DRIVER: overlay2
-
-
-  stages:
-    - tag
-    - release
-
-  # if you want to debug the ci pipeline, uncomment the following lines
-  #debug:
-  #  tags:
-  #    - nixos
-  #  stage: tag
-  #  script:
-  #    - export
-
-  tag-it:
-    tags:
-      - nixos
-    stage: tag
-    script:
-      - devenv shell tag-version
-
-    rules:
-      - if: '$CI_COMMIT_TAG'
-        when: never
-      - if: '$CI_COMMIT_TAG_MESSAGE =~ /DO_RELEASE/'
-        when: never
-      - if: '$CI_COMMIT_MESSAGE =~ /Bump version/'
-        when: never
-      - when: on_success
-
-  release:
-    tags:
-      - nixos
-    stage: release
-    rules:
-      - if: '$CI_COMMIT_TAG_MESSAGE =~ /DO_RELEASE/'
-        when: on_success
-      - when: never
-    variables:
-      # Disable shallow cloning so that goreleaser  can diff between tags to
-      GIT_DEPTH: 0
-    script:
-      - devenv shell deploy-app
-      #- cd source; goreleaser release --clean
-## DO NOT EDIT THIS FILE MANUALLY, IT IS GENERATED BY NIX
diff --git a/Makefile b/Makefile
deleted file mode 100644
index 2d00cc1..0000000
--- a/Makefile
+++ /dev/null
@@ -1,68 +0,0 @@
-#############################################################################################
-#############################################################################################
-##
-## PROJECT-DEFINITIONS
-##
-#############################################################################################
-#############################################################################################
-
-COMPONENT_NAME        := ReqMan
-
-#############################################################################################
-#############################################################################################
-##
-## MORE GENERAL BLOCK WITH STANDARD DEFINITIONS
-##
-#############################################################################################
-#############################################################################################
-
-# get Makefile directory name: http://stackoverflow.com/a/5982798/376773
-THIS_MAKEFILE_PATH:=$(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST))
-PROJECT_ROOT:=$(shell cd $(dir $(THIS_MAKEFILE_PATH));pwd)/
-THIS_MAKEFILE:=$(PROJECT_ROOT)$(THIS_MAKEFILE_PATH)
-
-
--include $(PROJECT_ROOT)project.mk
-
-
-## Define the location of Makefiles
-MAKEFILE_IMPORT_PATH?=$(PROJECT_ROOT)makefiles/
-
-#############################################################################################
-#############################################################################################
-##
-## INCLUSION OF VARIOUS STANDARD RULES
-##
-#############################################################################################
-#############################################################################################
-
-include $(MAKEFILE_IMPORT_PATH)license-agpl3.mk
-include $(MAKEFILE_IMPORT_PATH)placeholder.mk
-include $(MAKEFILE_IMPORT_PATH)directories-standard.mk
-include $(MAKEFILE_IMPORT_PATH)go.mk
-include $(MAKEFILE_IMPORT_PATH)s3.mk
-include $(MAKEFILE_IMPORT_PATH)color.mk
-include $(MAKEFILE_IMPORT_PATH)terminal.mk
-include $(MAKEFILE_IMPORT_PATH)output.mk
-include $(MAKEFILE_IMPORT_PATH)version.mk
-include $(MAKEFILE_IMPORT_PATH)target-help.mk
-include $(MAKEFILE_IMPORT_PATH)target-variable.mk
-include $(MAKEFILE_IMPORT_PATH)target-update-makefiles.mk
-include $(MAKEFILE_IMPORT_PATH)target-deploy-tool.mk
-include $(MAKEFILE_IMPORT_PATH)target-build-go.mk
-include $(MAKEFILE_IMPORT_PATH)target-git.mk
-include $(MAKEFILE_IMPORT_PATH)terminal-check.mk	
-
-
-#############################################################################################
-#############################################################################################
-##
-## PROJECT-DEFINITIONS
-##
-#############################################################################################
-#############################################################################################
-
-
-	
-
-	
diff --git a/devenv.lock b/devenv.lock
deleted file mode 100644
index 4dd5fa0..0000000
--- a/devenv.lock
+++ /dev/null
@@ -1,190 +0,0 @@
-{
-  "nodes": {
-    "devenv": {
-      "locked": {
-        "dir": "src/modules",
-        "lastModified": 1710819219,
-        "narHash": "sha256-SXTz20R4ZDXwr3iPxXJXQTftHmZwOPzSpIK7bIIculA=",
-        "owner": "cachix",
-        "repo": "devenv",
-        "rev": "169d2cbce65977289f2e0e863a4e8f42f9ce98af",
-        "type": "github"
-      },
-      "original": {
-        "dir": "src/modules",
-        "owner": "cachix",
-        "repo": "devenv",
-        "type": "github"
-      }
-    },
-    "flake-compat": {
-      "flake": false,
-      "locked": {
-        "lastModified": 1696426674,
-        "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
-        "owner": "edolstra",
-        "repo": "flake-compat",
-        "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
-        "type": "github"
-      },
-      "original": {
-        "owner": "edolstra",
-        "repo": "flake-compat",
-        "type": "github"
-      }
-    },
-    "flake-utils": {
-      "inputs": {
-        "systems": "systems"
-      },
-      "locked": {
-        "lastModified": 1710146030,
-        "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
-        "owner": "numtide",
-        "repo": "flake-utils",
-        "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
-        "type": "github"
-      },
-      "original": {
-        "owner": "numtide",
-        "repo": "flake-utils",
-        "type": "github"
-      }
-    },
-    "gitignore": {
-      "inputs": {
-        "nixpkgs": [
-          "pre-commit-hooks",
-          "nixpkgs"
-        ]
-      },
-      "locked": {
-        "lastModified": 1709087332,
-        "narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=",
-        "owner": "hercules-ci",
-        "repo": "gitignore.nix",
-        "rev": "637db329424fd7e46cf4185293b9cc8c88c95394",
-        "type": "github"
-      },
-      "original": {
-        "owner": "hercules-ci",
-        "repo": "gitignore.nix",
-        "type": "github"
-      }
-    },
-    "nixpkgs": {
-      "locked": {
-        "lastModified": 1710695816,
-        "narHash": "sha256-3Eh7fhEID17pv9ZxrPwCLfqXnYP006RKzSs0JptsN84=",
-        "owner": "nixos",
-        "repo": "nixpkgs",
-        "rev": "614b4613980a522ba49f0d194531beddbb7220d3",
-        "type": "github"
-      },
-      "original": {
-        "owner": "nixos",
-        "ref": "nixos-23.11",
-        "repo": "nixpkgs",
-        "type": "github"
-      }
-    },
-    "nixpkgs-stable": {
-      "locked": {
-        "lastModified": 1710695816,
-        "narHash": "sha256-3Eh7fhEID17pv9ZxrPwCLfqXnYP006RKzSs0JptsN84=",
-        "owner": "NixOS",
-        "repo": "nixpkgs",
-        "rev": "614b4613980a522ba49f0d194531beddbb7220d3",
-        "type": "github"
-      },
-      "original": {
-        "owner": "NixOS",
-        "ref": "nixos-23.11",
-        "repo": "nixpkgs",
-        "type": "github"
-      }
-    },
-    "nixpkgs_2": {
-      "locked": {
-        "lastModified": 1710695816,
-        "narHash": "sha256-3Eh7fhEID17pv9ZxrPwCLfqXnYP006RKzSs0JptsN84=",
-        "owner": "NixOS",
-        "repo": "nixpkgs",
-        "rev": "614b4613980a522ba49f0d194531beddbb7220d3",
-        "type": "github"
-      },
-      "original": {
-        "id": "nixpkgs",
-        "ref": "nixos-23.11",
-        "type": "indirect"
-      }
-    },
-    "pre-commit-hooks": {
-      "inputs": {
-        "flake-compat": "flake-compat",
-        "flake-utils": "flake-utils",
-        "gitignore": "gitignore",
-        "nixpkgs": [
-          "nixpkgs"
-        ],
-        "nixpkgs-stable": "nixpkgs-stable"
-      },
-      "locked": {
-        "lastModified": 1710843117,
-        "narHash": "sha256-b6iKQeHegzpc697rxTPA3bpwGN3m50eLCgdQOmceFuE=",
-        "owner": "cachix",
-        "repo": "pre-commit-hooks.nix",
-        "rev": "e8dc1b4fe80c6fcededde7700e6a23bcdf7f3347",
-        "type": "github"
-      },
-      "original": {
-        "owner": "cachix",
-        "repo": "pre-commit-hooks.nix",
-        "type": "github"
-      }
-    },
-    "root": {
-      "inputs": {
-        "devenv": "devenv",
-        "nixpkgs": "nixpkgs",
-        "pre-commit-hooks": "pre-commit-hooks",
-        "version": "version"
-      }
-    },
-    "systems": {
-      "locked": {
-        "lastModified": 1681028828,
-        "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
-        "owner": "nix-systems",
-        "repo": "default",
-        "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
-        "type": "github"
-      },
-      "original": {
-        "owner": "nix-systems",
-        "repo": "default",
-        "type": "github"
-      }
-    },
-    "version": {
-      "inputs": {
-        "nixpkgs": "nixpkgs_2"
-      },
-      "locked": {
-        "lastModified": 1704542622,
-        "narHash": "sha256-HnFuaOXHoxv8tpBvMsEjfhcl/hFNxEY7GbBqoyJ1U8U=",
-        "ref": "refs/heads/master",
-        "rev": "6b4f85fe6d934429cf3055bbcd8cf15014730118",
-        "revCount": 114,
-        "type": "git",
-        "url": "https://gitlab.schukai.com/oss/utilities/version.git"
-      },
-      "original": {
-        "type": "git",
-        "url": "https://gitlab.schukai.com/oss/utilities/version.git"
-      }
-    }
-  },
-  "root": "root",
-  "version": 7
-}
diff --git a/devenv.nix b/devenv.nix
deleted file mode 100644
index eae38e5..0000000
--- a/devenv.nix
+++ /dev/null
@@ -1,534 +0,0 @@
-# See full reference at https://devenv.sh/reference/options/
-{
-  pkgs,
-  inputs,
-  phps,
-  lib,
-  config,
-  modulesPath,
-  ...
-}: let
-  taskfileYaml = let
-    ciJobToken = builtins.getEnv "CI_JOB_TOKEN";
-    gitCommit =
-      if ciJobToken == ""
-      then (builtins.getFlake "git+https://gitlab.schukai.com/schukai/entwicklung/nix-flakes").packages.${builtins.currentSystem}.git-commit
-      else "";
-
-    goPkgReleaseData = import ./project.nix;
-    goPkgName = goPkgReleaseData.name or "goPkg";
-    goPkgMnemonic = goPkgReleaseData.mnemonic or "go-pkg";
-  in
-    pkgs.writeTextFile {
-      name = "Taskfile.yaml";
-      text = ''
-        ## DO NOT EDIT THIS FILE MANUALLY, IT IS GENERATED BY NIX
-        version: '3'
-
-        tasks:
-            build:
-              desc: Build the app
-              aliases:
-                - b
-              cmds:
-                - build-app
-              sources:
-                - source/*.go
-                - source/**/*.go
-                - source/go.mod
-                - dist/**
-
-            git-commit:
-                desc: Commit changes to git
-                cmds:
-                  - ${gitCommit}/bin/git-commit
-                silent: true
-
-            default:
-              desc: Print this help message
-              aliases: [d, help]
-              cmds:
-                - task --list
-              silent: true
-
-        ## DO NOT EDIT THIS FILE MANUALLY, IT IS GENERATED BY NIX
-      '';
-    };
-
-  treefmtConfig = pkgs.writeTextFile {
-    name = "treefmt.toml";
-    text = ''
-        ## DO NOT EDIT THIS FILE MANUALLY, IT IS GENERATED BY NIX
-
-        [formatter.nix]
-        command = "${pkgs.alejandra}/bin/alejandra"
-        options = []
-        includes = [ "*.nix" ]
-        #excludes = [ "devenv.nix" ]
-
-        [formatter.go]
-        command = "${pkgs.go}/bin/gofmt"
-        options = ["-w"]
-        includes = [ "*.go" ]
-        excludes = []
-
-        #[formatter.php]
-        #command = "${pkgs.php83Packages.php-cs-fixer}/bin/php-cs-fixer"
-        #options = ["fix"]
-        #includes = [ "*.php" ]
-        #excludes = []
-
-        [formatter.shell]
-        command = "${pkgs.shfmt}/bin/shfmt"
-        options = ["-w"]
-        includes = [ "*.sh", "*.bash" ]
-        excludes = []
-
-
-        [formatter.prettier]
-        command = "${pkgs.nodePackages.prettier}/bin/prettier"
-        options = ["--write","--plugin=${pkgs.nodePackages.prettier-plugin-toml}/lib/node_modules/prettier-plugin-toml/lib/api.js"]
-        includes = [
-            "*.css",
-            "*.html",
-            "*.js",
-            "*.mjs",
-            "*.json",
-            "*.xml",
-            "*.toml",
-            "*.jsx",
-            "*.md",
-            "*.mdx",
-            "*.scss",
-            "*.ts",
-            "*.yml",
-            "*.yaml"]
-        excludes = ["treefmt.toml", "Taskfile.yml", "node_modules"]
-
-      ## DO NOT EDIT THIS FILE MANUALLY, IT IS GENERATED BY NIX
-
-    '';
-  };
-
-  gitlabCiYaml = pkgs.writeTextFile {
-    name = ".gitlab-ci.yml";
-    text = ''
-        ## DO NOT EDIT THIS FILE MANUALLY, IT IS GENERATED BY NIX
-        image: docker-registry.schukai.com:443/nixos-ci-devenv:latest
-
-        #services:
-        #  - docker:dind
-
-
-        variables:
-          NIXOS_VERSION: "23.11"
-          NIXPKGS_ALLOW_UNFREE: "1"
-          NIXPKGS_ALLOW_INSECURE: "1"
-          #DOCKER_DRIVER: overlay2
-
-
-        stages:
-          - tag
-          - release
-
-        # if you want to debug the ci pipeline, uncomment the following lines
-        #debug:
-        #  tags:
-        #    - nixos
-        #  stage: tag
-        #  script:
-        #    - export
-
-        tag-it:
-          tags:
-            - nixos
-          stage: tag
-          script:
-            - devenv shell tag-version
-
-          rules:
-            - if: '$CI_COMMIT_TAG'
-              when: never
-            - if: '$CI_COMMIT_TAG_MESSAGE =~ /DO_RELEASE/'
-              when: never
-            - if: '$CI_COMMIT_MESSAGE =~ /Bump version/'
-              when: never
-            - when: on_success
-
-        release:
-          tags:
-            - nixos
-          stage: release
-          rules:
-            - if: '$CI_COMMIT_TAG_MESSAGE =~ /DO_RELEASE/'
-              when: on_success
-            - when: never
-          variables:
-            # Disable shallow cloning so that goreleaser  can diff between tags to
-            GIT_DEPTH: 0
-          script:
-            - devenv shell deploy-app
-            #- cd source; goreleaser release --clean
-      ## DO NOT EDIT THIS FILE MANUALLY, IT IS GENERATED BY NIX
-    '';
-  };
-
-  goReleaserYaml = let
-    goPkgReleaseData = import ./project.nix;
-    goPkgName = goPkgReleaseData.name or "goPkg";
-    goPkgMnemonic = goPkgReleaseData.mnemonic or "go-pkg";
-  in
-    pkgs.writeTextFile {
-      name = ".goreleaser.yml";
-      text = ''
-        ## DO NOT EDIT THIS FILE MANUALLY, IT IS GENERATED BY NIX
-        gitlab_urls:
-          api: https://gitlab.schukai.com/api/v4
-          download: https://gitlab.schukai.com
-
-          # set to true if you use a self-signed certificate
-          skip_tls_verify: false
-
-          use_package_registry: true
-
-          # Set this if you set GITLAB_TOKEN to the value of CI_JOB_TOKEN.
-          # Since: v1.11
-          use_job_token: false
-
-        project_name: ${goPkgMnemonic}
-
-        builds:
-          - id: ${goPkgMnemonic}
-            goos:
-              - linux
-              - darwin
-              - windows
-            dir: ${config.devenv.root}/source
-            ldflags:
-              - -s -w
-              - -X main.version={{.Version}}
-              - -X 'main.commit={{.Commit}}'
-              - -X 'main.build={{.Date}}'
-              - -X 'main.mnemonic=${goPkgMnemonic}'
-              - -X 'main.name=${goPkgName}'
-
-
-        ## DO NOT EDIT THIS FILE MANUALLY, IT IS GENERATED BY NIX
-      '';
-    };
-in {
-  env.APP_NAME = let
-    goPkgReleaseData = import ./project.nix;
-    goPkgMnemonic = goPkgReleaseData.mnemonic or "go-pkg";
-  in
-    goPkgMnemonic;
-
-  # https://devenv.sh/packages/
-  packages = with pkgs; [
-    inputs.version.defaultPackage."${builtins.currentSystem}"
-    appimage-run
-    goreleaser
-    go-tools
-    awscli2
-    blackbox
-    blackbox-terminal
-    coreutils-full
-    d2
-    dbeaver
-    delve
-    dialog
-    dive
-    docker-client
-    docker-compose
-    drill
-    eza
-    fd
-    gawk
-    gcc12
-    gdlv
-    git
-    glab
-    gnugrep
-    gnum4
-    gnumake
-    gnupg
-    gnused
-    go-task
-    graphviz
-    treefmt
-    gum
-    httpie
-    hurl
-    jq
-    libffi
-    libffi
-    logrotate
-    mdbook
-    mdbook-admonish
-    mdbook-cmdrun
-    mdbook-d2
-    mdbook-emojicodes
-    mdbook-graphviz
-    mdbook-linkcheck
-    mdbook-mermaid
-    mdbook-pdf
-    meld
-    memcached
-    netcat
-    netcat
-    oha
-    openai
-    oxker
-    pandoc-katex
-    plantuml
-    pprof
-    procps
-    ranger
-    termbook
-    unixtools.arp
-    unixtools.xxd
-    unzip
-    util-linux
-    wget
-    zlib
-  ];
-
-  scripts.tag-version.exec = ''
-    #!${pkgs.bash}/bin/bash
-
-    if [[ -z "''${CI_JOB_TOKEN}" ]]; then
-        echo " ✖ Not in gitlab ci."
-        exit 0
-    fi
-
-    set -x
-    ${pkgs.git}/bin/git config user.email "''${GITLAB_USER_EMAIL}"
-    ${pkgs.git}/bin/git config user.name "''${GITLAB_USER_NAME:-"Gitlab CI"}"
-    ${pkgs.git}/bin/git config credential.helper '!f() { echo "username=gitlab-ci-token"; echo "password=''${CI_JOB_TOKEN}"; }; f'
-    ${pkgs.git}/bin/git config pull.rebase true
-    ${pkgs.git}/bin/git config http.sslVerify "false"
-    ${pkgs.git}/bin/git remote set-url origin https://pad:''${GITLAB_TOKEN}@''${CI_REPOSITORY_URL#*@}
-    ${pkgs.git}/bin/git fetch --all --tags --unshallow
-    ${pkgs.git}/bin/git reset --hard origin/master
-    ${pkgs.git}/bin/git checkout $CI_COMMIT_REF_NAME
-    ${pkgs.git}/bin/git pull origin $CI_COMMIT_REF_NAME
-
-    NEWVERSION=$(${inputs.version.defaultPackage."${builtins.currentSystem}"}/bin/version predict --git exit-code-if-no-bump)
-    if [[ $? -ne 0 ]]; then
-    echo " ✖ No bump wanted."
-    exit 0
-    fi
-
-    if [[ -z "''${NEWVERSION}" ]]; then
-    echo " ✖ No version found."
-    exit 0
-    fi
-
-    sed -i "s/version\s*=\s*\".*\"/version = \"''${NEWVERSION}\"/" ${config.devenv.root}/project.nix
-    ${pkgs.git}/bin/git add ${config.devenv.root}/project.nix
-    ${pkgs.git}/bin/git commit -m "chore: Bump version to ''${NEWVERSION}"
-
-    ${pkgs.git}/bin/git log --decorate=short --pretty=oneline
-
-    ${pkgs.git}/bin/git tag -a "''${NEWVERSION}" -m "chore: Release ''${NEWVERSION} - DO_RELEASE"
-    ${pkgs.git}/bin/git push origin $CI_COMMIT_REF_NAME --tags
-
-  '';
-
-  scripts.common-functions.exec = ''
-
-    if [ -t 1 ]; then
-        RED='\033[0;31m'
-        GREEN='\033[0;32m'
-        BLUE='\033[0;34m'
-        RESET='\033[0m'
-        BOLD='\033[1m'
-    else
-        RED=""
-        GREEN=""
-        RESET=""
-    fi
-
-    is_true() {
-      val="$1"
-      if [ "$val" = 'true' ] || [ "$val" = '1' ]; then
-        return 0
-      else
-        return 1
-      fi
-    }
-
-    get_commit_hash() {
-        hash=""
-        if [[ -n "$CI_COMMIT_SHORT_SHA" ]]; then
-            hash="$CI_COMMIT_SHORT_SHA"
-        else
-            hash="$(git rev-parse --short HEAD)"
-
-            if [[ -n "$(git status --porcelain)" ]]; then
-                hash="''${hash}-dirty"
-            fi
-        fi
-        echo "$hash"
-    }
-
-    echo_green() {
-        echo -e "$GREEN ✔ $1$RESET"
-    }
-
-    echo_red() {
-        echo -e "$RED ✖ $1$RESET"
-    }
-
-    echo_todo() {
-        echo_bold "$BLUE • $1"
-    }
-
-    update_project_version() {
-        if version auto --git --exit-code-if-no-bump --verbose
-        then
-            buildVer=$(version print --git)
-            local project_nix="${config.devenv.root}/project.nix"
-            sed -i "s/^\s*version\s*=.*/  version = \"$buildVer\";/" "$project_nix"
-            echo_green "Project version updated to $buildVer"
-
-            ${pkgs.git}/bin/git add "$project_nix"
-            ${pkgs.git}/bin/git commit -m "chore: Update project version to $buildVer" "$project_nix"
-            ${pkgs.git}/bin/git tag -f -a "$buildVer" -m "Release $buildVer"
-
-            if is_true "$CI_MODE"; then
-                ${pkgs.git}/bin/git push -o ci.skip origin ''${CI_COMMIT_REF_NAME} --tags
-            fi
-
-        else
-            echo_green "Project version is up to date"
-        fi
-    }
-
-    get_project_version() {
-        echo "$(version print --git)"
-    }
-
-    if [ -z "$DEBUG_MODE" ]; then
-        DEBUG_MODE='false'
-    fi
-
-    if [ -n "$CI_JOB_TOKEN" ]; then
-        CI_MODE='true'
-    fi
-
-    if is_true "$DEBUG_MODE" || is_true "$CI_MODE"; then
-        set -x
-    fi
-
-  '';
-
-  scripts.update-files.exec = ''
-    #!${pkgs.bash}/bin/bash
-    source common-functions
-    create_symlink() {
-        if ln -s "$1" "$2" 2>/dev/null; then
-            echo_green "$2 created"
-        else
-            echo_red "$2 already exists"
-        fi
-    }
-
-    update_symlink() {
-        echo -e " → $1"
-        local source_path="$1"
-        local target_path="$2"
-        local file_name="$(basename "$target_path")"
-        local source_dir="$(dirname "$source_path")"
-        mkdir -p "$source_dir" || true
-        if [[ ! -d "$source_dir" ]]; then
-         echo_red "$RED ✖ $source_dir is not a directory. Please remove it manually and run the script again."
-         exit 1
-        fi
-
-        if [[ -L "$source_path" ]]; then
-        if [[ "$(readlink "$source_path")" != "$target_path" ]]; then
-             rm "$source_path"
-             create_symlink "$target_path" "$source_path"
-             echo_green "$GREEN ✔ $source_path updated$RESET"
-         else
-                echo_green "$GREEN ✔ $source_path is up to date$RESET"
-         fi
-        elif [[ -e "$source_path" ]]; then
-         echo_red "$RED ✖ $source_path already exists and is not a symlink. Please remove it manually and run the script again."
-         exit 1
-        else
-         create_symlink "$target_path" "$source_path"
-        fi
-    }
-
-    # Usage for Taskfile.yaml
-    update_symlink "${config.devenv.root}/Taskfile.yaml" "${taskfileYaml}"
-    update_symlink "${config.devenv.root}/.goreleaser.yml" "${goReleaserYaml}"
-    update_symlink "${config.devenv.root}/treefmt.toml" "${treefmtConfig}"
-
-    cat ${gitlabCiYaml} > "${config.devenv.root}/.gitlab-ci.yml"
-
-  '';
-
-  languages = {
-    go = {enable = true;};
-  };
-
-  difftastic.enable = true;
-
-  scripts.get-commit-hash.exec = ''
-    #!${pkgs.bash}/bin/bash
-        hash=""
-        if [[ -n "$CI_COMMIT_SHORT_SHA" ]]; then
-            hash="$CI_COMMIT_SHORT_SHA"
-        else
-            hash="$(git rev-parse --short HEAD)"
-
-            if [[ -n "$(git status --porcelain)" ]]; then
-                hash="''${hash}-dirty"
-            fi
-        fi
-        echo "$hash"
-  '';
-
-  ## this script should be run after debugging the ci pipeline
-  scripts.delete-pipeline.exec = ''
-    #!${pkgs.bash}/bin/bash
-
-    pipeline_list=$(glab ci list)
-
-    commit_hashes=$(echo "$pipeline_list" | awk '/#/{print $3}')
-    for hash in $commit_hashes; do
-        hh=$(echo "$hash" | cut -d"#" -f2)
-        echo "found hash: $hh"
-        glab ci delete "$hh"
-    done
-
-    echo "done"
-
-  '';
-
-  scripts.build-app.exec = ''
-    #!${pkgs.bash}/bin/bash
-    ${pkgs.treefmt}/bin/treefmt
-    update-hashes
-    ${pkgs.nix}/bin/nix build .#reqman
-  '';
-
-  scripts.deploy-app.exec = ''
-    #!${pkgs.bash}/bin/bash
-    ${pkgs.goreleaser}/bin/goreleaser release --clean --config ${config.devenv.root}/.goreleaser.yml
-  '';
-
-  scripts.update-hashes.exec = ''
-    #!${pkgs.bash}/bin/bash
-    sed -i 's/vendorHash\s*=\s*".*"/vendorHash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="/' ${config.devenv.root}/project.nix
-    HASH=$(${pkgs.nix}/bin/nix build 2>&1 | grep 'got:'  | awk '{print $2}')
-    sed -i "s/vendorHash\s*=\s*\".*\"/vendorHash = \"''${HASH}\"/" ${config.devenv.root}/project.nix
-  '';
-
-  enterShell = ''
-    update-files
-  '';
-}
diff --git a/devenv.yaml b/devenv.yaml
deleted file mode 100644
index 1fd1de9..0000000
--- a/devenv.yaml
+++ /dev/null
@@ -1,7 +0,0 @@
-inputs:
-  nixpkgs:
-    url: github:nixos/nixpkgs/nixos-23.11
-
-  version:
-    url: git+https://gitlab.schukai.com/oss/utilities/version.git
-    flake: true
diff --git a/project.nix b/project.nix
deleted file mode 100644
index 2e156ed..0000000
--- a/project.nix
+++ /dev/null
@@ -1,10 +0,0 @@
-{
-  name = "ReqMan";
-  mnemonic = "reqman";
-  description = "ReqMan is a tool for managing requirements and test cases.";
-  supportedSystems = ["x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin"];
-  compileForSystems = ["linux/arm64" "linux/amd64" "darwin/amd64" "windows/amd64"];
-  modulePath = "https://gitlab.schukai.com/oss/utilities/requirements-manager";
-  version = "0.1.1"; ## don't change this line, it is updated automatically by GitLab CI
-  vendorHash = "sha256-yrNWU9cVs9zIFqNuHzndRG8C6E3sm8v5UdzwwW4HheM="; ## this is updated automatically by update-hashes
-}
diff --git a/treefmt.toml b/treefmt.toml
deleted file mode 120000
index e751d6a..0000000
--- a/treefmt.toml
+++ /dev/null
@@ -1 +0,0 @@
-/nix/store/fr09ir5x8kc5b2j2s652grl3120vk5sy-treefmt.toml
\ No newline at end of file
-- 
GitLab