From 3cc1e8e5335d07b246446145de99f0d87e15df9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 13 May 2025 17:45:07 +0200 Subject: nixos: few minor tweaks and add prismlauncher and remove onlyoffice --- nixos/configurations/spt-mox.nix | 14 ++++++++------ nixos/modules/desktop.nix | 1 - nixos/modules/gaming.nix | 5 ++++- 3 files changed, 12 insertions(+), 8 deletions(-) (limited to 'nixos') diff --git a/nixos/configurations/spt-mox.nix b/nixos/configurations/spt-mox.nix index 8a842b7..8af976c 100644 --- a/nixos/configurations/spt-mox.nix +++ b/nixos/configurations/spt-mox.nix @@ -28,13 +28,15 @@ }; }; - services.journald.extraConfig = '' - SystemMaxUse=512M - ''; + services = { + journald.extraConfig = '' + SystemMaxUse=512M + ''; - services.btrfs.autoScrub = { - enable = true; - fileSystems = ["/"]; + btrfs.autoScrub = { + enable = true; + fileSystems = ["/"]; + }; }; networking = { diff --git a/nixos/modules/desktop.nix b/nixos/modules/desktop.nix index dfc9777..06c8215 100644 --- a/nixos/modules/desktop.nix +++ b/nixos/modules/desktop.nix @@ -84,7 +84,6 @@ in { ferdium signal-desktop libreoffice - onlyoffice-desktopeditors mupdf zathura pdfgrep diff --git a/nixos/modules/gaming.nix b/nixos/modules/gaming.nix index 6dce70d..6e25320 100644 --- a/nixos/modules/gaming.nix +++ b/nixos/modules/gaming.nix @@ -18,7 +18,10 @@ in { config = mkIf cnf { cynerd.desktop.enable = true; - environment.systemPackages = [pkgs.heroic]; + environment.systemPackages = with pkgs; [ + heroic + prismlauncher + ]; nixpkgs.config.permittedInsecurePackages = [ "SDL_ttf-2.0.11" # TODO -- cgit v1.2.3