diff --git a/flake.lock b/flake.lock index 468f0b5..8ffbb7c 100644 --- a/flake.lock +++ b/flake.lock @@ -91,11 +91,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1692025715, - "narHash": "sha256-tsRiiopGT7HA8d/cuk5xYBRXgdnnvD+JhUGUe3x7vmY=", + "lastModified": 1692134936, + "narHash": "sha256-Z68O969cioC6I3k/AFBxsuEwpJwt4l9fzwuAMUhCCs0=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "09a137528c3aea3780720d19f99cd706f52c3823", + "rev": "bfd953b2c6de4f550f75461bcc5768b6f966be10", "type": "github" }, "original": { @@ -121,11 +121,11 @@ }, "nixpkgs-unstable": { "locked": { - "lastModified": 1691990649, - "narHash": "sha256-gMbKOiX1HwClRP9lADaaV/lnZr93NEaOFe4ApDx/zd8=", + "lastModified": 1692174805, + "narHash": "sha256-xmNPFDi/AUMIxwgOH/IVom55Dks34u1g7sFKKebxUm0=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "6e287913f7b1ef537c97aa301b67c34ea46b640f", + "rev": "caac0eb6bdcad0b32cb2522e03e4002c8975c62e", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 703805a..d6de1f2 100644 --- a/flake.nix +++ b/flake.nix @@ -36,14 +36,6 @@ # }) # ]; - 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 9c24660..06a816c 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.tmpOnTmpfs = false; + boot.tmp.useTmpfs = false; boot.supportedFilesystems = [ "zfs" ]; virtualisation.virtualbox.host.enable = true; @@ -60,7 +60,7 @@ hardware.bluetooth.enable = true; # Logitech G920 - hardware.usbWwan.enable = true; + hardware.usb-modeswitch.enable = true; # hardware.pulseaudio.extraConfig = '' # load-module module-null-sink sink_name=mic_denoised_out rate=48000 @@ -120,8 +120,10 @@ }; services.openssh.enable = true; - services.openssh.passwordAuthentication = false; - services.openssh.forwardX11 = true; + services.openssh.settings = { + PasswordAuthentication = false; + X11Forwarding = true; + }; # security.pki.certificates = [ # ''