From 90f26bd2f6dd5e9f450f4ea60dc060ad72bf69c8 Mon Sep 17 00:00:00 2001 From: alisceon Date: Mon, 17 Nov 2025 10:45:44 +0100 Subject: [PATCH] spring cleaning --- .gitignore | 6 ------ .pre-commit-config.yaml | 13 +++++++++++++ flake.lock | 12 ++++++------ nixos/default.nix | 10 ---------- run/.containerenv | 0 5 files changed, 19 insertions(+), 22 deletions(-) create mode 100644 .pre-commit-config.yaml delete mode 100644 nixos/default.nix delete mode 100755 run/.containerenv diff --git a/.gitignore b/.gitignore index cfcaf8e..0e0dd53 100644 --- a/.gitignore +++ b/.gitignore @@ -1,14 +1,8 @@ result .stfolder -# Devenv -.devenv* -devenv.local.nix # direnv .direnv -# pre-commit -.pre-commit-config.yaml - # clamav .clamav \ No newline at end of file diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..3ce9888 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,13 @@ +# See https://pre-commit.com for more information +# See https://pre-commit.com/hooks.html for more hooks +repos: +- repo: local + hooks: + - id: update-flake-lock + name: Update Flake Lock + entry: nix flake update --flake . + language: system + always_run: true + pass_filenames: false + stages: [pre-commit] + diff --git a/flake.lock b/flake.lock index d1b0ffe..fe7d841 100644 --- a/flake.lock +++ b/flake.lock @@ -121,11 +121,11 @@ ] }, "locked": { - "lastModified": 1763369811, - "narHash": "sha256-JzGbEE9w/LTHRqeV76rzIBLMGZzhEyBq1h/xLd0bHf8=", + "lastModified": 1763372398, + "narHash": "sha256-JBGrFlX1iazxDVBuedkiIsEhuf1IKFBCAT6vzHquHlQ=", "owner": "nix-community", "repo": "NUR", - "rev": "ce3d701015f40c55659133a3bbf9920815c7ed7b", + "rev": "ce6bfb72eb8d6894358681a766a997d8e699740a", "type": "github" }, "original": { @@ -142,11 +142,11 @@ ] }, "locked": { - "lastModified": 1763369811, - "narHash": "sha256-JzGbEE9w/LTHRqeV76rzIBLMGZzhEyBq1h/xLd0bHf8=", + "lastModified": 1763372398, + "narHash": "sha256-JBGrFlX1iazxDVBuedkiIsEhuf1IKFBCAT6vzHquHlQ=", "owner": "nix-community", "repo": "NUR", - "rev": "ce3d701015f40c55659133a3bbf9920815c7ed7b", + "rev": "ce6bfb72eb8d6894358681a766a997d8e699740a", "type": "github" }, "original": { diff --git a/nixos/default.nix b/nixos/default.nix deleted file mode 100644 index 6daf27b..0000000 --- a/nixos/default.nix +++ /dev/null @@ -1,10 +0,0 @@ -{ ... }: { - imports = [ - ./hardware - ./programs - ./services - ./system - ./themes - ./virtual - ]; -} \ No newline at end of file diff --git a/run/.containerenv b/run/.containerenv deleted file mode 100755 index e69de29..0000000