disable avahi, add nat for virt
This commit is contained in:
parent
09d32772f9
commit
c4ad40b1e3
@ -8,15 +8,10 @@
|
||||
|
||||
trustedUsers = [ "root" "alukard" "@wheel" ];
|
||||
|
||||
# nrBuildUsers = 16;
|
||||
|
||||
# optimise.automatic = lib.mkIf (config.device != "Dell-Laptop") true;
|
||||
optimise.automatic = true;
|
||||
|
||||
# autoOptimiseStore = config.deviceSpecific.isSSD;
|
||||
autoOptimiseStore = false;
|
||||
|
||||
# package = pkgs.nixFlakes;
|
||||
package = inputs.nix.packages.x86_64-linux.nix;
|
||||
|
||||
extraOptions = ''
|
||||
|
@ -40,12 +40,6 @@ in
|
||||
wine = super.wineWowPackages.staging;
|
||||
qbittorrent = super.qbittorrent.overrideAttrs (stable: rec {
|
||||
version = "enchanced-edition";
|
||||
# src = super.fetchFromGitHub {
|
||||
# owner = "c0re100";
|
||||
# repo = "qBittorrent-Enhanced-Edition";
|
||||
# rev = "release-${version}";
|
||||
# sha256 = "1pfwg95vi1yig36qkganhqw1rz28qfzlfpixnbb3hibvzsjl2p8m";
|
||||
# };
|
||||
src = inputs.qbittorrent-ee;
|
||||
});
|
||||
rust-stable = pkgs.latest.rustChannels.stable.rust.override {
|
||||
|
@ -35,15 +35,15 @@ with config.deviceSpecific; {
|
||||
|
||||
services.udev.packages = [ pkgs.stlink ];
|
||||
|
||||
services.avahi = {
|
||||
enable = true;
|
||||
nssmdns = true;
|
||||
publish = {
|
||||
enable = true;
|
||||
addresses = true;
|
||||
domain = true;
|
||||
};
|
||||
};
|
||||
# services.avahi = {
|
||||
# enable = true;
|
||||
# nssmdns = true;
|
||||
# publish = {
|
||||
# enable = true;
|
||||
# addresses = true;
|
||||
# domain = true;
|
||||
# };
|
||||
# };
|
||||
|
||||
systemd.services.systemd-udev-settle.enable = false;
|
||||
|
||||
|
@ -12,4 +12,9 @@
|
||||
};
|
||||
|
||||
virtualisation.spiceUSBRedirection.enable = config.deviceSpecific.enableVirtualisation;
|
||||
|
||||
networking.nat = {
|
||||
enable = true;
|
||||
internalInterfaces = ["ve-+"];
|
||||
};
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user