From 695805bdf8f508e35d40903c46131b1295808382 Mon Sep 17 00:00:00 2001 From: kenny Date: Wed, 28 Jan 2026 13:26:54 +0200 Subject: [PATCH] Corrected rustnet.nix call, moved it to userapps/utils.nix --- hosts/puter/default.nix | 5 ++--- hosts/puter/packages.nix | 3 ++- modules/userapps/utils.nix | 7 ++++++- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/hosts/puter/default.nix b/hosts/puter/default.nix index a01970d..b385a7c 100644 --- a/hosts/puter/default.nix +++ b/hosts/puter/default.nix @@ -2,7 +2,8 @@ config, pkgs, ... -}: { +}: +{ imports = [ ./hardware-configuration.nix ./syncthing.nix @@ -25,8 +26,6 @@ ../../modules/common/libvirt.nix ../../modules/common/keyd.nix ../../modules/common/unbound-cloud.nix - - (callPackage .../../modules/common/rustnet.nix {}) ]; networking.hostName = "puter"; # This will be overridden by system/default.nix diff --git a/hosts/puter/packages.nix b/hosts/puter/packages.nix index 6e05256..0351bcb 100644 --- a/hosts/puter/packages.nix +++ b/hosts/puter/packages.nix @@ -2,7 +2,8 @@ config, pkgs, ... -}: { +}: +{ nixpkgs.config.permittedInsecurePackages = [ "qtwebengine-5.15.19" "electron-36.9.5" diff --git a/modules/userapps/utils.nix b/modules/userapps/utils.nix index 5f96fd8..f99bcdf 100644 --- a/modules/userapps/utils.nix +++ b/modules/userapps/utils.nix @@ -2,7 +2,11 @@ config, pkgs, ... -}: { +}: +let + rustnet = pkgs.callPackage ../../modules/common/rustnet.nix {}; +in +{ programs.neovim = {defaultEditor = true;}; environment.systemPackages = with pkgs; [ parallel-disk-usage @@ -27,5 +31,6 @@ just nh tty-clock + rustnet ]; }