From d65f40f62400995112d40862ae2b668f635fcd68 Mon Sep 17 00:00:00 2001 From: Artemis Tosini Date: Wed, 6 Dec 2023 18:29:18 +0000 Subject: [PATCH] Never mind, build still has to be trusted --- flake.lock | 80 +++++------------------------------------------- sets/builder.nix | 1 + 2 files changed, 8 insertions(+), 73 deletions(-) diff --git a/flake.lock b/flake.lock index 3ca7f80..0054a69 100644 --- a/flake.lock +++ b/flake.lock @@ -23,29 +23,6 @@ "url": "https://git.mildlyfunctional.gay/artemist/packages.git" } }, - "beautysh": { - "inputs": { - "nixpkgs": [ - "nixvim", - "nixpkgs" - ], - "poetry2nix": "poetry2nix", - "utils": "utils" - }, - "locked": { - "lastModified": 1680308980, - "narHash": "sha256-aUEHV0jk2qIFP3jlsWYWhBbm+w/N9gzH3e4I5DcdB5s=", - "owner": "lovesegfault", - "repo": "beautysh", - "rev": "9845efc3ea3e86cc0d41465d720a47f521b2799c", - "type": "github" - }, - "original": { - "owner": "lovesegfault", - "repo": "beautysh", - "type": "github" - } - }, "crane": { "inputs": { "flake-compat": [ @@ -245,11 +222,11 @@ ] }, "locked": { - "lastModified": 1701678527, - "narHash": "sha256-IZsekR8N8mmiCHlbHGoxUCPbpkAc/VG9Mk3Gfxjqi10=", + "lastModified": 1701853617, + "narHash": "sha256-iyXpx1xNYeRgVQwBC1UlAsUi0I8BsinN5wCaar/Mq2Y=", "owner": "jovian-experiments", "repo": "jovian-nixos", - "rev": "a67dce3eb5eb80faed4be27fe22fdae976c4a4f1", + "rev": "c2781460c89cbbc9baa7cc84aa617a9b7d17889e", "type": "github" }, "original": { @@ -394,7 +371,6 @@ }, "nixvim": { "inputs": { - "beautysh": "beautysh", "flake-utils": [ "utils" ], @@ -404,11 +380,11 @@ "pre-commit-hooks": "pre-commit-hooks" }, "locked": { - "lastModified": 1701545368, - "narHash": "sha256-AzE7T/aRj/3kJ6nKJZ4zxuPpSJ+NvU8NpTUS7ipbonA=", + "lastModified": 1701879058, + "narHash": "sha256-cOHIndHbXJ69DeYpa3srPBmAa+MuJhq1RgF1J1I3c3s=", "owner": "nix-community", "repo": "nixvim", - "rev": "741dd36395236f34dbe35a2db79a711c6b318ce4", + "rev": "032f697da6ae830460095f881644da650f17a967", "type": "github" }, "original": { @@ -417,33 +393,6 @@ "type": "github" } }, - "poetry2nix": { - "inputs": { - "flake-utils": [ - "nixvim", - "beautysh", - "utils" - ], - "nixpkgs": [ - "nixvim", - "beautysh", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1658665240, - "narHash": "sha256-/wkx7D7enyBPRjIkK0w7QxLQhzEkb3UxNQnjyc3FTUI=", - "owner": "nix-community", - "repo": "poetry2nix", - "rev": "8b8edc85d24661d5a6d0d71d6a7011f3e699780f", - "type": "github" - }, - "original": { - "owner": "nix-community", - "repo": "poetry2nix", - "type": "github" - } - }, "pre-commit-hooks": { "inputs": { "flake-compat": "flake-compat_2", @@ -529,7 +478,7 @@ "nixvim": "nixvim", "private": "private", "rustybar": "rustybar", - "utils": "utils_2" + "utils": "utils" } }, "rust-overlay": { @@ -611,21 +560,6 @@ } }, "utils": { - "locked": { - "lastModified": 1678901627, - "narHash": "sha256-U02riOqrKKzwjsxc/400XnElV+UtPUQWpANPlyazjH0=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "93a2b84fc4b70d9e089d029deacc3583435c2ed6", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - }, - "utils_2": { "inputs": { "systems": "systems_2" }, diff --git a/sets/builder.nix b/sets/builder.nix index e68c4e6..e6fb4a1 100644 --- a/sets/builder.nix +++ b/sets/builder.nix @@ -1,6 +1,7 @@ { ... }: { + nix.settings.trusted-users = [ "build" ]; users.users.build = { isSystemUser = true; home = "/home/build";