From 3e38a77ece7acfdabcc4a561f60630f6fa74fe2b Mon Sep 17 00:00:00 2001 From: Chris Toph Date: Fri, 30 May 2025 20:12:39 -0400 Subject: [PATCH] Add Nix configuration and update package lists for Gojo and Haze --- home/global/core/default.nix | 18 ++++++++++++++++++ home/hosts/gojo/default.nix | 14 +++++++++++++- home/hosts/haze/default.nix | 14 +++++++++++++- hosts/global/core/default.nix | 1 + 4 files changed, 45 insertions(+), 2 deletions(-) diff --git a/home/global/core/default.nix b/home/global/core/default.nix index 02d49b4..dce2e68 100644 --- a/home/global/core/default.nix +++ b/home/global/core/default.nix @@ -105,6 +105,24 @@ in programs.home-manager.enable = true; + ## NIX NIX NIX ## + home.file = + let + nixConfig = pkgs.writeText "config.nix" '' + { + allowUnfree = true; + permittedInsecurePackages = [ + "ventoy-gtk3-1.1.05" + ]; + } + ''; + in + { + ".config/nixpkgs/config.nix" = { + source = nixConfig; + }; + }; + # Nicely reload system units when changing configs systemd.user.startServices = "sd-switch"; } diff --git a/home/hosts/gojo/default.nix b/home/hosts/gojo/default.nix index fc41cac..c1ad6dc 100644 --- a/home/hosts/gojo/default.nix +++ b/home/hosts/gojo/default.nix @@ -27,11 +27,23 @@ home.packages = builtins.attrValues { inherit (pkgs) ## Media ## - cider # Apple Music + ffmpeg + gpu-screen-recorder-gtk + spotify youtube-music + ## Social ## + betterdiscordctl + discord + telegram-desktop + ## Tools ## + bitwarden-desktop inspector + + ## Productivity ## + gimp + inkscape ; }; } diff --git a/home/hosts/haze/default.nix b/home/hosts/haze/default.nix index 35c283f..b8323a7 100644 --- a/home/hosts/haze/default.nix +++ b/home/hosts/haze/default.nix @@ -22,10 +22,22 @@ home.packages = builtins.attrValues { inherit (pkgs) ## Media ## - cider # Apple Music + ffmpeg + spotify + gpu-screen-recorder-gtk + + ## Social ## + telegram-desktop + discord + betterdiscordctl ## Tools ## + bitwarden-desktop inspector + + ## Productivity ## + gimp + inkscape ; }; } diff --git a/hosts/global/core/default.nix b/hosts/global/core/default.nix index 018bc49..cd86c93 100644 --- a/hosts/global/core/default.nix +++ b/hosts/global/core/default.nix @@ -48,6 +48,7 @@ in ]; config = { allowUnfree = true; + allowUnfreePredicate = _: true; }; };