diff --git a/flake.lock b/flake.lock index 8ffbb7c..468f0b5 100644 --- a/flake.lock +++ b/flake.lock @@ -91,11 +91,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1692134936, - "narHash": "sha256-Z68O969cioC6I3k/AFBxsuEwpJwt4l9fzwuAMUhCCs0=", + "lastModified": 1692025715, + "narHash": "sha256-tsRiiopGT7HA8d/cuk5xYBRXgdnnvD+JhUGUe3x7vmY=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "bfd953b2c6de4f550f75461bcc5768b6f966be10", + "rev": "09a137528c3aea3780720d19f99cd706f52c3823", "type": "github" }, "original": { @@ -121,11 +121,11 @@ }, "nixpkgs-unstable": { "locked": { - "lastModified": 1692174805, - "narHash": "sha256-xmNPFDi/AUMIxwgOH/IVom55Dks34u1g7sFKKebxUm0=", + "lastModified": 1691990649, + "narHash": "sha256-gMbKOiX1HwClRP9lADaaV/lnZr93NEaOFe4ApDx/zd8=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "caac0eb6bdcad0b32cb2522e03e4002c8975c62e", + "rev": "6e287913f7b1ef537c97aa301b67c34ea46b640f", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index d6de1f2..703805a 100644 --- a/flake.nix +++ b/flake.nix @@ -36,6 +36,14 @@ # }) # ]; + channels.nixpkgs-unstable.patches = [ + (nixpkgs-unstable.legacyPackages."x86_64-linux".fetchpatch { + name = "249059.patch"; + url = "https://github.com/NixOS/nixpkgs/commit/7957b4cfd79a6b7871d31e5acd84f75fc3e7ca59.patch"; + sha256 = "sha256-Ue9qzggPooVSgyzJiPhQm7+79L5d7IYX3fAXmYjTTiE="; + }) + ]; + hostDefaults.modules = [ nixpkgs.nixosModules.notDetected { diff --git a/systems/PC-Fixe/configuration.nix b/systems/PC-Fixe/configuration.nix index 06a816c..9c24660 100644 --- a/systems/PC-Fixe/configuration.nix +++ b/systems/PC-Fixe/configuration.nix @@ -26,7 +26,7 @@ "acpi_enforce_resources=lax" "zfs.zfs_arc_max=2147483648" ]; - boot.tmp.useTmpfs = false; + boot.tmpOnTmpfs = false; boot.supportedFilesystems = [ "zfs" ]; virtualisation.virtualbox.host.enable = true; @@ -60,7 +60,7 @@ hardware.bluetooth.enable = true; # Logitech G920 - hardware.usb-modeswitch.enable = true; + hardware.usbWwan.enable = true; # hardware.pulseaudio.extraConfig = '' # load-module module-null-sink sink_name=mic_denoised_out rate=48000 @@ -120,10 +120,8 @@ }; services.openssh.enable = true; - services.openssh.settings = { - PasswordAuthentication = false; - X11Forwarding = true; - }; + services.openssh.passwordAuthentication = false; + services.openssh.forwardX11 = true; # security.pki.certificates = [ # ''