Corrected rustnet.nix call, moved it to userapps/utils.nix

This commit is contained in:
2026-01-28 13:26:54 +02:00
parent 75900f6ae0
commit 695805bdf8
3 changed files with 10 additions and 5 deletions

View File

@@ -2,7 +2,8 @@
config, config,
pkgs, pkgs,
... ...
}: { }:
{
imports = [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
./syncthing.nix ./syncthing.nix
@@ -25,8 +26,6 @@
../../modules/common/libvirt.nix ../../modules/common/libvirt.nix
../../modules/common/keyd.nix ../../modules/common/keyd.nix
../../modules/common/unbound-cloud.nix ../../modules/common/unbound-cloud.nix
(callPackage .../../modules/common/rustnet.nix {})
]; ];
networking.hostName = "puter"; networking.hostName = "puter";
# This will be overridden by system/default.nix # This will be overridden by system/default.nix

View File

@@ -2,7 +2,8 @@
config, config,
pkgs, pkgs,
... ...
}: { }:
{
nixpkgs.config.permittedInsecurePackages = [ nixpkgs.config.permittedInsecurePackages = [
"qtwebengine-5.15.19" "qtwebengine-5.15.19"
"electron-36.9.5" "electron-36.9.5"

View File

@@ -2,7 +2,11 @@
config, config,
pkgs, pkgs,
... ...
}: { }:
let
rustnet = pkgs.callPackage ../../modules/common/rustnet.nix {};
in
{
programs.neovim = {defaultEditor = true;}; programs.neovim = {defaultEditor = true;};
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
parallel-disk-usage parallel-disk-usage
@@ -27,5 +31,6 @@
just just
nh nh
tty-clock tty-clock
rustnet
]; ];
} }