From 5b19f0abc0accc2d76f5c3cdd0e045ddbb39cfe7 Mon Sep 17 00:00:00 2001 From: oluceps Date: Thu, 24 Oct 2024 15:00:26 +0800 Subject: [PATCH] + --- hosts/hastur/default.nix | 9 +++++++-- misc.nix | 1 - 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/hosts/hastur/default.nix b/hosts/hastur/default.nix index 67d55d9c..280219ca 100644 --- a/hosts/hastur/default.nix +++ b/hosts/hastur/default.nix @@ -15,12 +15,17 @@ withSystem "x86_64-linux" ( let inherit (self) lib; in - lib.nixosSystem rec { + lib.nixosSystem { pkgs = import inputs.nixpkgs { inherit system; config = { - allowUnfree = true; allowUnsupportedSystem = true; + allowUnfreePredicate = + pkg: + builtins.elem (lib.getName pkg) [ + "code" + "vscode" + ]; permittedInsecurePackages = [ "olm-3.2.16" ]; diff --git a/misc.nix b/misc.nix index 9bf2c132..7b0188e0 100755 --- a/misc.nix +++ b/misc.nix @@ -26,7 +26,6 @@ Environment = [ "TMPDIR=/var/tmp/nix-daemon" ]; }; - # srv.earlyoom.enable = true; environment.systemPackages = [ pkgs.eza