From 5772d25ad01aaae855e970bee4485c51f38daf40 Mon Sep 17 00:00:00 2001 From: Kopatz <7265381+Kropatz@users.noreply.github.com> Date: Mon, 1 Jul 2024 12:21:20 +0200 Subject: [PATCH] fix laptop --- flake.nix | 3 +-- modules/collections/laptop.nix | 5 +++++ systems/laptop/configuration.nix | 1 - 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 8e42537..439fbcc 100644 --- a/flake.nix +++ b/flake.nix @@ -109,8 +109,7 @@ ./systems/laptop/configuration.nix ./modules/collections/laptop.nix ./modules/ecryptfs.nix - ./modules/services/syncthing.nix - ./modules/fh/scanning.nix + #./modules/fh/scanning.nix ./modules/support/ntfs.nix ./modules/thunderbolt.nix #./modules/vmware-host.nix diff --git a/modules/collections/laptop.nix b/modules/collections/laptop.nix index a40677d..483b47b 100644 --- a/modules/collections/laptop.nix +++ b/modules/collections/laptop.nix @@ -22,6 +22,9 @@ #tablet.enable = true; #fingerprint.enable = true; }; + services = { + syncthing.enable = true; + }; graphical = { audio.enable = true; code = { @@ -37,6 +40,8 @@ shared.enable = true; }; }; + + nixpkgs.config.permittedInsecurePackages = [ "electron-28.3.3" ]; programs.firejail.wrappedBinaries = with pkgs; let inherit (config.custom.misc.firejail) mk; in lib.mkMerge [ diff --git a/systems/laptop/configuration.nix b/systems/laptop/configuration.nix index 857b7eb..b683e63 100644 --- a/systems/laptop/configuration.nix +++ b/systems/laptop/configuration.nix @@ -11,7 +11,6 @@ ]; - nixpkgs.config.permittedInsecurePackages = [ "electron-27.3.11" ]; services.blueman.enable = true; hardware.bluetooth.enable = true; # enables support for Bluetooth