feat: Disable paperless leaking creds and enable apps for gui devices

This commit is contained in:
uttarayan21
2025-08-04 11:32:17 +05:30
parent be576afeae
commit 675436356c
3 changed files with 4 additions and 3 deletions

View File

@@ -3,7 +3,7 @@
device, device,
... ...
}: }:
lib.optionalAttrs (device.is "ryu") { lib.optionalAttrs device.hasGui {
imports = [ imports = [
# ./audacity.nix # ./audacity.nix
./blueman.nix ./blueman.nix

View File

@@ -2,6 +2,7 @@
inputs, inputs,
pkgs, pkgs,
device, device,
lib,
... ...
}: let }: let
pkgs' = pkgs.applyPatches { pkgs' = pkgs.applyPatches {
@@ -11,7 +12,7 @@
}; };
pkgsPatched = import pkgs' {system = device.system;}; pkgsPatched = import pkgs' {system = device.system;};
in { in {
home.packages = [ home.packages = lib.mkIf device.isLinux [
pkgsPatched.orca-slicer pkgsPatched.orca-slicer
]; ];
} }

View File

@@ -8,7 +8,7 @@
}; };
services = { services = {
paperless = { paperless = {
enable = true; enable = false;
passwordFile = config.sops.secrets."paperless/adminpass".path; passwordFile = config.sops.secrets."paperless/adminpass".path;
environmentFile = pkgs.writeText "paperless.env" '' environmentFile = pkgs.writeText "paperless.env" ''
PAPERLESS_ENABLE_HTTP_REMOTE_USER=true PAPERLESS_ENABLE_HTTP_REMOTE_USER=true