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,
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

View File

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

View File

@@ -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
];
}