From fe89a049bd5796d65c214b46848cb8cae8dd479d Mon Sep 17 00:00:00 2001 From: "Lennart J. Kurzweg (Nx2)" Date: Sun, 23 Nov 2025 18:01:47 +0100 Subject: [PATCH] antigarvity + flake bump --- flake-modules/allowed.nix | 9 ++---- flake.lock | 50 ++++++++++++++--------------- home-modules/opencode.nix | 44 ++++++++++++------------- home-modules/pkgs-list/programs.nix | 1 + 4 files changed, 50 insertions(+), 54 deletions(-) diff --git a/flake-modules/allowed.nix b/flake-modules/allowed.nix index cd09118..f6bee5c 100644 --- a/flake-modules/allowed.nix +++ b/flake-modules/allowed.nix @@ -1,6 +1,6 @@ - { unfree = [ + "antigravity" "cursor" "discord" "spotify" @@ -10,8 +10,6 @@ "zoom-us" "zoom" - # since the predicate ist to be set in the flake and not in a module - # it is impossible to make the list dynamic and respect nvidia.enable "nvidia-x11" "nvidia-settings" "nvidia-persistenced" @@ -41,8 +39,5 @@ "vscode-extension-mhutchie-git-graph" ]; - - inecure = [ - # "electron-25.9.0" - ]; + insecure = [ ]; } diff --git a/flake.lock b/flake.lock index 4bae71b..59778d0 100644 --- a/flake.lock +++ b/flake.lock @@ -39,11 +39,11 @@ "nixpkgs": "nixpkgs" }, "locked": { - "lastModified": 1762095388, - "narHash": "sha256-7Q8LtcvKWHbP8znARRTOY2tpU5WoV6FHwp5TZJOI8Us=", + "lastModified": 1763901903, + "narHash": "sha256-w7YsxTjldwhUBP5ypbcZvWyZgRQqp3NBfyk5BAfrFjQ=", "owner": "9001", "repo": "copyparty", - "rev": "ac085b8149ff50e03d260128596dd130ed1c7cae", + "rev": "fb9f0441c99833ab7bc035d76b9a89021270675a", "type": "github" }, "original": { @@ -329,11 +329,11 @@ "xdph": "xdph" }, "locked": { - "lastModified": 1763427561, - "narHash": "sha256-7m7/uCNhBwUAB26QZs/pvFi1wlzpImnNCEF+a883oOs=", + "lastModified": 1763912895, + "narHash": "sha256-1mdM539nkqTWVHTHPCGHGrLu/UwsxeYWnrnHQaUh1qQ=", "ref": "refs/heads/main", - "rev": "edc311544a54a06ce4acb759b4d9a30853695452", - "revCount": 6618, + "rev": "2b0fd417d32278159d0ca1d23fb997588c37995b", + "revCount": 6643, "submodules": true, "type": "git", "url": "https://github.com/hyprwm/Hyprland" @@ -627,11 +627,11 @@ "nixpkgs": "nixpkgs_4" }, "locked": { - "lastModified": 1763385941, - "narHash": "sha256-99CBNgyMvg3Zu/hxqixtShevrF4Kfr/qjtizQ6oseVI=", + "lastModified": 1763738061, + "narHash": "sha256-VpNRcInaj1MOya8NmcqhFmdO7KGO7SSZelJQmPl6HoQ=", "owner": "nix-community", "repo": "NixOS-WSL", - "rev": "cc6483354b236c2fc95cc1d4ba1f0f40b7345e69", + "rev": "3bcc267c4e0efa023b98b9c5cfbe11b88ec2dc8f", "type": "github" }, "original": { @@ -690,11 +690,11 @@ }, "nixpkgs-latest": { "locked": { - "lastModified": 1763477650, - "narHash": "sha256-PM2ykDLxh6V7cVFjn8WxmZjuogJK0VHTTLexu8LUtQs=", + "lastModified": 1763916652, + "narHash": "sha256-m98S+2/jYgiaEnIU7HW73Zxp3GQdysV4aHEEUvLnLFI=", "owner": "nixos", "repo": "nixpkgs", - "rev": "e9bfdb3ed05b5b2df8226d31e256d8ee4c53edde", + "rev": "5d0669b779c160a4542520c0807b350e1bb4feae", "type": "github" }, "original": { @@ -722,11 +722,11 @@ }, "nixpkgs-unstable": { "locked": { - "lastModified": 1763283776, - "narHash": "sha256-Y7TDFPK4GlqrKrivOcsHG8xSGqQx3A6c+i7novT85Uk=", + "lastModified": 1763678758, + "narHash": "sha256-+hBiJ+kG5IoffUOdlANKFflTT5nO3FrrR2CA3178Y5s=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "50a96edd8d0db6cc8db57dab6bb6d6ee1f3dc49a", + "rev": "117cc7f94e8072499b0a7aa4c52084fa4e11cc9b", "type": "github" }, "original": { @@ -801,11 +801,11 @@ }, "nixpkgs_5": { "locked": { - "lastModified": 1763334038, - "narHash": "sha256-LBVOyaH6NFzQ3X/c6vfMZ9k4SV2ofhpxeL9YnhHNJQQ=", + "lastModified": 1763622513, + "narHash": "sha256-1jQnuyu82FpiSxowrF/iFK6Toh9BYprfDqfs4BB+19M=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "4c8cdd5b1a630e8f72c9dd9bf582b1afb3127d2c", + "rev": "c58bc7f5459328e4afac201c5c4feb7c818d604b", "type": "github" }, "original": { @@ -1016,11 +1016,11 @@ ] }, "locked": { - "lastModified": 1763417348, - "narHash": "sha256-n5xDOeNN+smocQp3EMIc11IzBlR9wvvTIJZeL0g33Fs=", + "lastModified": 1763870012, + "narHash": "sha256-AHxFfIu73SpNLAOZbu/AvpLhZ/Szhx6gRPj9ufZtaZA=", "owner": "Mic92", "repo": "sops-nix", - "rev": "3f66a7fb9626a9a9c077612ef10a0ce396286c7d", + "rev": "4e7d74d92398b933cc0e0e25af5b0836efcfdde3", "type": "github" }, "original": { @@ -1107,11 +1107,11 @@ "rust-overlay": "rust-overlay_2" }, "locked": { - "lastModified": 1763445380, - "narHash": "sha256-TGTZb9kJKq+z1Gn+39U9v6Ltsog2LhI7mZdf8/jcON4=", + "lastModified": 1763600401, + "narHash": "sha256-druDd9HC3UxZSzCY+qaFp9QDCGfzrhv+Zrytia6lJUE=", "owner": "sxyazi", "repo": "yazi", - "rev": "f9abe886ccfc801348be73f62c863beb87fd0bb0", + "rev": "a08b345a02c6b4c65239a0522f67e77a0132e88b", "type": "github" }, "original": { diff --git a/home-modules/opencode.nix b/home-modules/opencode.nix index 4030b94..eb4f557 100644 --- a/home-modules/opencode.nix +++ b/home-modules/opencode.nix @@ -1,29 +1,29 @@ { pkgs, ... }@all: with all; { home = { packages = with pkgs; [ - opencode + unstable.opencode ]; - file.".config/opencode/opencode.json".text = let - model = "qwen2.5-coder:7b"; - in builtins.toJSON { - "$schema" = "https://opencode.ai/config.json"; - model = "ollama/${model}"; - theme = "matrix"; - provider = { - ollama = { - name = "Ollama (local)"; - npm = "@ai-sdk/openai-compatible"; - options = { - baseURL = "http://localhost:11434/v1"; - }; - models = { - "${model}" = { - tools = true; - }; - }; - }; - }; - }; + # file.".config/opencode/opencode.json".text = let + # model = "qwen2.5-coder:7b"; + # in builtins.toJSON { + # "$schema" = "https://opencode.ai/config.json"; + # model = "ollama/${model}"; + # theme = "matrix"; + # provider = { + # ollama = { + # name = "Ollama (local)"; + # npm = "@ai-sdk/openai-compatible"; + # options = { + # baseURL = "http://localhost:11434/v1"; + # }; + # models = { + # "${model}" = { + # tools = true; + # }; + # }; + # }; + # }; + # }; }; } diff --git a/home-modules/pkgs-list/programs.nix b/home-modules/pkgs-list/programs.nix index 5932568..e08b467 100644 --- a/home-modules/pkgs-list/programs.nix +++ b/home-modules/pkgs-list/programs.nix @@ -12,6 +12,7 @@ ] ++ (if (hyper.host != "NxACE") then [ signal-desktop unstable.code-cursor-fhs + latest.antigravity obsidian zoom-us inkscape