From 1b1b02775380ced1258fed42198e893f48db4a70 Mon Sep 17 00:00:00 2001 From: Liam Malone Date: Sun, 17 Mar 2024 14:31:01 +0000 Subject: [PATCH] . --- hosts/default/configuration.nix | 7 +++++++ hosts/default/home.nix | 8 +------- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/hosts/default/configuration.nix b/hosts/default/configuration.nix index 27c4381..b0cb471 100644 --- a/hosts/default/configuration.nix +++ b/hosts/default/configuration.nix @@ -89,6 +89,12 @@ (nerdfonts.override { fonts = [ "FiraCode" "DroidSansMono" ]; }) ]; + nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ + "steam" + "steam-original" + "steam-run" + "discord-0.0.44" + ]; nix.settings.trusted-users = [ "root" "@wheel" ]; nix.gc = { @@ -125,6 +131,7 @@ wget wl-clipboard alacritty + discord ]; diff --git a/hosts/default/home.nix b/hosts/default/home.nix index 18246d7..a5d8a77 100644 --- a/hosts/default/home.nix +++ b/hosts/default/home.nix @@ -17,7 +17,7 @@ pkgs.cmake pkgs.contour # pkgs.etcher ## Currently Uses Electron-19 -- which is marked EOL - pkgs.discord + # pkgs.discord pkgs.emacs-all-the-icons-fonts pkgs.exfatprogs pkgs.firefox @@ -59,12 +59,6 @@ NIX_SHELL_PRESERVE_PROMPT = 1; }; - nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ - "steam" - "steam-original" - "steam-run" - # "discord-0.0.44" - ]; nix.settings.extra-trusted-substituters = [ "https://ghostty.cachix.org" ];