From 00bb67bc630926d07ebba72089bd248dadff7553 Mon Sep 17 00:00:00 2001 From: Artemis Tosini Date: Mon, 13 May 2024 16:04:56 +0000 Subject: [PATCH] fuck it, no more trusted users --- flake.lock | 26 +++++++++++++------------- sets/base.nix | 1 - sets/builder.nix | 1 - 3 files changed, 13 insertions(+), 15 deletions(-) diff --git a/flake.lock b/flake.lock index 4b84e15..fdc8f6c 100644 --- a/flake.lock +++ b/flake.lock @@ -314,11 +314,11 @@ ] }, "locked": { - "lastModified": 1715380449, - "narHash": "sha256-716+f9Rj3wjSyD1xitCv2FcYbgPz1WIVDj+ZBclH99Y=", + "lastModified": 1715486357, + "narHash": "sha256-4pRuzsHZOW5W4CsXI9uhKtiJeQSUoe1d2M9mWU98HC4=", "owner": "nix-community", "repo": "home-manager", - "rev": "d7682620185f213df384c363288093b486b2883f", + "rev": "44677a1c96810a8e8c4ffaeaad10c842402647c1", "type": "github" }, "original": { @@ -380,11 +380,11 @@ "lix": { "flake": false, "locked": { - "lastModified": 1715435912, - "narHash": "sha256-71Me/4yaGdhL55dC/SPLuBFXC2XxFRbbaTARHk/Gsic=", - "rev": "a30c5673367533aec48faa59dd0d76b283dda1ba", + "lastModified": 1715485879, + "narHash": "sha256-a+sGR5aW4K9qF6EALPSOsui8EZF80yBKofWrSE7IZ/Q=", + "rev": "4b35e6a75e35e0f79bdadfd5e0d44bc870dcc135", "type": "tarball", - "url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/a30c5673367533aec48faa59dd0d76b283dda1ba.tar.gz" + "url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/4b35e6a75e35e0f79bdadfd5e0d44bc870dcc135.tar.gz" }, "original": { "type": "tarball", @@ -423,11 +423,11 @@ ] }, "locked": { - "lastModified": 1714878592, - "narHash": "sha256-E68C03sYRsYFsK7wiGHUIJm8IsyPRALOrFoTL0glXnI=", + "lastModified": 1715483403, + "narHash": "sha256-WMDuQj7J5jbpXI/X/E6FZRKgBFGcaSTvYyVxPnKE6KU=", "owner": "nix-community", "repo": "nix-index-database", - "rev": "a362555e9dbd4ecff3bb98969bbdb8f79fe87f10", + "rev": "f9027322f48b427da23746aa359a6510dfcd0228", "type": "github" }, "original": { @@ -453,11 +453,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1715266358, - "narHash": "sha256-doPgfj+7FFe9rfzWo1siAV2mVCasW+Bh8I1cToAXEE4=", + "lastModified": 1715534503, + "narHash": "sha256-5ZSVkFadZbFP1THataCaSf0JH2cAH3S29hU9rrxTEqk=", "owner": "nixos", "repo": "nixpkgs", - "rev": "f1010e0469db743d14519a1efd37e23f8513d714", + "rev": "2057814051972fa1453ddfb0d98badbea9b83c06", "type": "github" }, "original": { diff --git a/sets/base.nix b/sets/base.nix index cf2ca7a..e7f9ad1 100644 --- a/sets/base.nix +++ b/sets/base.nix @@ -21,7 +21,6 @@ "flakes" "ca-derivations" ]; - trusted-users = [ "@wheel" ]; use-xdg-base-directories = true; }; diff --git a/sets/builder.nix b/sets/builder.nix index e6fb4a1..e68c4e6 100644 --- a/sets/builder.nix +++ b/sets/builder.nix @@ -1,7 +1,6 @@ { ... }: { - nix.settings.trusted-users = [ "build" ]; users.users.build = { isSystemUser = true; home = "/home/build";