Compare commits
No commits in common. "c6b18d0c734120c743441e0709c60612effea452" and "3ced4c61627dd5003489ff17df1b839fc33525bb" have entirely different histories.
c6b18d0c73
...
3ced4c6162
|
@ -8,11 +8,11 @@
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1,
|
"lastModified": 1,
|
||||||
"narHash": "sha256-DuhR3y0gPZG0AJ2FDd+nUKzQMwT+c/DFIUWNDQ5Uyx4=",
|
"narHash": "sha256-DuhR3y0gPZG0AJ2FDd+nUKzQMwT+c/DFIUWNDQ5Uyx4=",
|
||||||
"path": "/nix/store/b101vshx5jj03vhqdh6j12hk6vkbk9x8-source/home/ags",
|
"path": "/nix/store/v7xsk4kvdnnpj7zvr4bl47wxycbx4qy6-source/home/ags",
|
||||||
"type": "path"
|
"type": "path"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"path": "/nix/store/b101vshx5jj03vhqdh6j12hk6vkbk9x8-source/home/ags",
|
"path": "/nix/store/v7xsk4kvdnnpj7zvr4bl47wxycbx4qy6-source/home/ags",
|
||||||
"type": "path"
|
"type": "path"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -10,8 +10,9 @@
|
||||||
nodejs
|
nodejs
|
||||||
luarocks
|
luarocks
|
||||||
jre
|
jre
|
||||||
python312Packages.pip
|
python3
|
||||||
python312Packages.debugpy
|
python311Packages.pip
|
||||||
|
python311Packages.debugpy
|
||||||
unzip
|
unzip
|
||||||
dotnet-sdk_8
|
dotnet-sdk_8
|
||||||
cargo
|
cargo
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
(import ./common.nix { inherit inputs config pkgs; })
|
(import ./common.nix { inherit inputs config pkgs; })
|
||||||
(import ./python.nix { inherit inputs config pkgs; })
|
|
||||||
(import ../hyprland { inherit inputs pkgs; })
|
(import ../hyprland { inherit inputs pkgs; })
|
||||||
../rofi
|
../rofi
|
||||||
../alacritty
|
../alacritty
|
||||||
|
|
|
@ -1,35 +0,0 @@
|
||||||
{ pkgs, ... }:
|
|
||||||
let
|
|
||||||
pythonldlibpath = pkgs.lib.makeLibraryPath (with pkgs; [
|
|
||||||
libGL
|
|
||||||
glib
|
|
||||||
zlib
|
|
||||||
zstd
|
|
||||||
stdenv.cc.cc
|
|
||||||
curl
|
|
||||||
openssl
|
|
||||||
attr
|
|
||||||
libssh
|
|
||||||
bzip2
|
|
||||||
libxml2
|
|
||||||
acl
|
|
||||||
libsodium
|
|
||||||
util-linux
|
|
||||||
xz
|
|
||||||
systemd
|
|
||||||
]);
|
|
||||||
# Darwin requires a different library path prefix
|
|
||||||
wrapPrefix = if (!pkgs.stdenv.isDarwin) then "LD_LIBRARY_PATH" else "DYLD_LIBRARY_PATH";
|
|
||||||
patchedpython = (pkgs.symlinkJoin {
|
|
||||||
name = "python";
|
|
||||||
paths = [ pkgs.python312 ];
|
|
||||||
buildInputs = [ pkgs.makeWrapper ];
|
|
||||||
postBuild = ''
|
|
||||||
wrapProgram "$out/bin/python3.12" --prefix ${wrapPrefix} : "${pythonldlibpath}"
|
|
||||||
'';
|
|
||||||
});
|
|
||||||
in {
|
|
||||||
home.packages = [
|
|
||||||
patchedpython
|
|
||||||
];
|
|
||||||
}
|
|
|
@ -76,15 +76,6 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.network.enable = true;
|
|
||||||
networking.useNetworkd = true;
|
|
||||||
systemd.network.config.networkConfig = {
|
|
||||||
ManageForeignRoutingPolicyRules = false;
|
|
||||||
ManageForeignRoutes = false;
|
|
||||||
SpeedMeter = true;
|
|
||||||
};
|
|
||||||
systemd.services.systemd-networkd-wait-online.enable = lib.mkForce false;
|
|
||||||
|
|
||||||
networking.wg-quick.interfaces = {
|
networking.wg-quick.interfaces = {
|
||||||
Tunnel = {
|
Tunnel = {
|
||||||
address = [ "10.0.0.5/24" "2a02:a03f:83ad:2101::5/128" ];
|
address = [ "10.0.0.5/24" "2a02:a03f:83ad:2101::5/128" ];
|
||||||
|
@ -115,8 +106,4 @@ in {
|
||||||
}];
|
}];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
systemd.services."wg-quick-OPNsense" = {
|
|
||||||
serviceConfig = { Restart = "on-failure"; RestartSec = "2s"; };
|
|
||||||
unitConfig.StartLimitIntervalSec = 0;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue